pub struct GrowDirection(pub i64);
Tuple Fields§
§0: i64
Implementations§
Source§impl GrowDirection
impl GrowDirection
pub const BEGIN: GrowDirection
pub const END: GrowDirection
pub const BOTH: GrowDirection
Trait Implementations§
Source§impl Clone for GrowDirection
impl Clone for GrowDirection
Source§fn clone(&self) -> GrowDirection
fn clone(&self) -> GrowDirection
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GrowDirection
impl Debug for GrowDirection
Source§impl From<GrowDirection> for i64
impl From<GrowDirection> for i64
Source§fn from(v: GrowDirection) -> Self
fn from(v: GrowDirection) -> Self
Converts to this type from the input type.
Source§impl From<i64> for GrowDirection
impl From<i64> for GrowDirection
Source§impl FromVariant for GrowDirection
impl FromVariant for GrowDirection
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for GrowDirection
impl Hash for GrowDirection
Source§impl Ord for GrowDirection
impl Ord for GrowDirection
Source§fn cmp(&self, other: &GrowDirection) -> Ordering
fn cmp(&self, other: &GrowDirection) -> Ordering
1.21.0 · 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 GrowDirection
impl PartialEq for GrowDirection
Source§impl PartialOrd for GrowDirection
impl PartialOrd for GrowDirection
impl Copy for GrowDirection
impl Eq for GrowDirection
impl StructuralPartialEq for GrowDirection
Auto Trait Implementations§
impl Freeze for GrowDirection
impl RefUnwindSafe for GrowDirection
impl Send for GrowDirection
impl Sync for GrowDirection
impl Unpin for GrowDirection
impl UnwindSafe for GrowDirection
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.