#[repr(u32)]pub enum Gravity {
BitForget = 0,
NorthWest = 1,
North = 2,
NorthEast = 3,
West = 4,
Center = 5,
East = 6,
SouthWest = 7,
South = 8,
SouthEast = 9,
Static = 10,
}
Variants§
BitForget = 0
NorthWest = 1
North = 2
NorthEast = 3
West = 4
Center = 5
East = 6
SouthWest = 7
South = 8
SouthEast = 9
Static = 10
Trait Implementations§
source§impl Ord for Gravity
impl Ord for Gravity
source§impl PartialEq for Gravity
impl PartialEq for Gravity
source§impl PartialOrd for Gravity
impl PartialOrd for Gravity
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Gravity
impl Eq for Gravity
impl StructuralPartialEq for Gravity
Auto Trait Implementations§
impl Freeze for Gravity
impl RefUnwindSafe for Gravity
impl Send for Gravity
impl Sync for Gravity
impl Unpin for Gravity
impl UnwindSafe for Gravity
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