#[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 duplicate 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
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