pub struct InterfaceGravity(/* private fields */);Implementations§
Source§impl InterfaceGravity
impl InterfaceGravity
pub const ZERO: InterfaceGravity
pub const fn new(value: i64) -> InterfaceGravity
pub const fn get(self) -> i64
Trait Implementations§
Source§impl Clone for InterfaceGravity
impl Clone for InterfaceGravity
Source§fn clone(&self) -> InterfaceGravity
fn clone(&self) -> InterfaceGravity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InterfaceGravity
Source§impl Debug for InterfaceGravity
impl Debug for InterfaceGravity
impl Eq for InterfaceGravity
Source§impl Ord for InterfaceGravity
impl Ord for InterfaceGravity
Source§fn cmp(&self, other: &InterfaceGravity) -> Ordering
fn cmp(&self, other: &InterfaceGravity) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InterfaceGravity
impl PartialEq for InterfaceGravity
Source§impl PartialOrd for InterfaceGravity
impl PartialOrd for InterfaceGravity
impl StructuralPartialEq for InterfaceGravity
Auto Trait Implementations§
impl Freeze for InterfaceGravity
impl RefUnwindSafe for InterfaceGravity
impl Send for InterfaceGravity
impl Sync for InterfaceGravity
impl Unpin for InterfaceGravity
impl UnsafeUnpin for InterfaceGravity
impl UnwindSafe for InterfaceGravity
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