Enum magick_rust::bindings::GravityType
source · #[repr(u32)]pub enum GravityType {
Undefined = 0,
NorthWest = 1,
North = 2,
NorthEast = 3,
West = 4,
Center = 5,
East = 6,
SouthWest = 7,
South = 8,
SouthEast = 9,
}
Variants§
Undefined = 0
NorthWest = 1
North = 2
NorthEast = 3
West = 4
Center = 5
East = 6
SouthWest = 7
South = 8
SouthEast = 9
Implementations§
source§impl GravityType
impl GravityType
pub const Forget: GravityType = GravityType::Undefined
Trait Implementations§
source§impl Clone for GravityType
impl Clone for GravityType
source§fn clone(&self) -> GravityType
fn clone(&self) -> GravityType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GravityType
impl Debug for GravityType
source§impl Hash for GravityType
impl Hash for GravityType
source§impl PartialEq for GravityType
impl PartialEq for GravityType
source§fn eq(&self, other: &GravityType) -> bool
fn eq(&self, other: &GravityType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for GravityType
impl Eq for GravityType
impl StructuralPartialEq for GravityType
Auto Trait Implementations§
impl Freeze for GravityType
impl RefUnwindSafe for GravityType
impl Send for GravityType
impl Sync for GravityType
impl Unpin for GravityType
impl UnwindSafe for GravityType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)