pub struct VariableKey(/* private fields */);Expand description
A variable key
Trait Implementations§
Source§impl Clone for VariableKey
impl Clone for VariableKey
Source§fn clone(&self) -> VariableKey
fn clone(&self) -> VariableKey
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 VariableKey
impl Debug for VariableKey
Source§impl Default for VariableKey
impl Default for VariableKey
Source§fn default() -> VariableKey
fn default() -> VariableKey
Returns the “default value” for a type. Read more
Source§impl From<KeyData> for VariableKey
impl From<KeyData> for VariableKey
Source§impl Hash for VariableKey
impl Hash for VariableKey
Source§impl Key for VariableKey
impl Key for VariableKey
Source§fn null() -> Self
fn null() -> Self
Creates a new key that is always invalid and distinct from any non-null
key. A null key can only be created through this method (or default
initialization of keys made with
new_key_type!, which calls this
method). Read moreSource§impl Ord for VariableKey
impl Ord for VariableKey
Source§fn cmp(&self, other: &VariableKey) -> Ordering
fn cmp(&self, other: &VariableKey) -> 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 VariableKey
impl PartialEq for VariableKey
Source§impl PartialOrd for VariableKey
impl PartialOrd for VariableKey
impl Copy for VariableKey
impl Eq for VariableKey
impl StructuralPartialEq for VariableKey
Auto Trait Implementations§
impl Freeze for VariableKey
impl RefUnwindSafe for VariableKey
impl Send for VariableKey
impl Sync for VariableKey
impl Unpin for VariableKey
impl UnwindSafe for VariableKey
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> CallHasher for T
impl<T> CallHasher for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more