#[repr(u32)]pub enum Gravity {
None = 0,
Top = 1,
Bottom = 2,
Left = 3,
Right = 4,
TopLeft = 5,
BottomLeft = 6,
TopRight = 7,
BottomRight = 8,
}
Variants§
None = 0
Top = 1
Bottom = 2
Left = 3
Right = 4
TopLeft = 5
BottomLeft = 6
TopRight = 7
BottomRight = 8
Implementations§
Trait Implementations§
impl 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
)