pub struct NativeVariant(/* private fields */);Implementations§
Trait Implementations§
Source§impl AsRef<str> for NativeVariant
impl AsRef<str> for NativeVariant
Source§impl Clone for NativeVariant
impl Clone for NativeVariant
Source§fn clone(&self) -> NativeVariant
fn clone(&self) -> NativeVariant
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 moreSource§impl Debug for NativeVariant
impl Debug for NativeVariant
Source§impl<'de> Deserialize<'de> for NativeVariant
impl<'de> Deserialize<'de> for NativeVariant
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for NativeVariant
impl Display for NativeVariant
impl Eq for NativeVariant
Source§impl FromStr for NativeVariant
impl FromStr for NativeVariant
Source§impl Ord for NativeVariant
impl Ord for NativeVariant
Source§fn cmp(&self, other: &NativeVariant) -> Ordering
fn cmp(&self, other: &NativeVariant) -> 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 NativeVariant
impl PartialEq for NativeVariant
Source§impl PartialOrd for NativeVariant
impl PartialOrd for NativeVariant
Source§impl Serialize for NativeVariant
impl Serialize for NativeVariant
impl StructuralPartialEq for NativeVariant
Auto Trait Implementations§
impl Freeze for NativeVariant
impl RefUnwindSafe for NativeVariant
impl Send for NativeVariant
impl Sync for NativeVariant
impl Unpin for NativeVariant
impl UnsafeUnpin for NativeVariant
impl UnwindSafe for NativeVariant
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.