pub struct Gravity(u32);
Tuple Fields§
§0: u32
Implementations§
source§impl Gravity
impl Gravity
pub const BIT_FORGET: Gravity = _
pub const WIN_UNMAP: Gravity = _
pub const NORTH_WEST: Gravity = _
pub const NORTH: Gravity = _
pub const NORTH_EAST: Gravity = _
pub const WEST: Gravity = _
pub const CENTER: Gravity = _
pub const EAST: Gravity = _
pub const SOUTH_WEST: Gravity = _
pub const SOUTH: Gravity = _
pub const SOUTH_EAST: Gravity = _
pub const STATIC: Gravity = _
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