pub struct Gravity(_);
Implementations
sourceimpl Gravity
impl Gravity
pub const BIT_FORGET: Self = Self(0)
pub const WIN_UNMAP: Self = Self(0)
pub const NORTH_WEST: Self = Self(1)
pub const NORTH: Self = Self(2)
pub const NORTH_EAST: Self = Self(3)
pub const WEST: Self = Self(4)
pub const CENTER: Self = Self(5)
pub const EAST: Self = Self(6)
pub const SOUTH_WEST: Self = Self(7)
pub const SOUTH: Self = Self(8)
pub const SOUTH_EAST: Self = Self(9)
pub const STATIC: Self = Self(10)
Trait Implementations
sourceimpl Ord for Gravity
impl Ord for Gravity
sourceimpl PartialOrd<Gravity> for Gravity
impl PartialOrd<Gravity> for Gravity
sourcefn partial_cmp(&self, other: &Gravity) -> Option<Ordering>
fn partial_cmp(&self, other: &Gravity) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl Copy for Gravity
impl Eq for Gravity
impl StructuralEq for Gravity
impl StructuralPartialEq for Gravity
Auto Trait Implementations
impl RefUnwindSafe for Gravity
impl Send for Gravity
impl Sync for Gravity
impl Unpin for Gravity
impl UnwindSafe for Gravity
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more