pub struct CovariantOptionalExample { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Clone for CovariantOptionalExample
impl Clone for CovariantOptionalExample
source§fn clone(&self) -> CovariantOptionalExample
fn clone(&self) -> CovariantOptionalExample
Returns a copy 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 CovariantOptionalExample
impl Debug for CovariantOptionalExample
source§impl<'de> Deserialize<'de> for CovariantOptionalExample
impl<'de> Deserialize<'de> for CovariantOptionalExample
source§fn deserialize<D>(d: D) -> Result<CovariantOptionalExample, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<CovariantOptionalExample, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<CovariantOptionalExample> for Builder
impl From<CovariantOptionalExample> for Builder
source§fn from(_v: CovariantOptionalExample) -> Builder
fn from(_v: CovariantOptionalExample) -> Builder
Converts to this type from the input type.
source§impl Hash for CovariantOptionalExample
impl Hash for CovariantOptionalExample
source§impl Ord for CovariantOptionalExample
impl Ord for CovariantOptionalExample
source§fn cmp(&self, other: &CovariantOptionalExample) -> Ordering
fn cmp(&self, other: &CovariantOptionalExample) -> 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 CovariantOptionalExample
impl PartialEq for CovariantOptionalExample
source§fn eq(&self, other: &CovariantOptionalExample) -> bool
fn eq(&self, other: &CovariantOptionalExample) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CovariantOptionalExample
impl PartialOrd for CovariantOptionalExample
source§fn partial_cmp(&self, other: &CovariantOptionalExample) -> Option<Ordering>
fn partial_cmp(&self, other: &CovariantOptionalExample) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for CovariantOptionalExample
impl Serialize for CovariantOptionalExample
impl Eq for CovariantOptionalExample
impl StructuralPartialEq for CovariantOptionalExample
Auto Trait Implementations§
impl Freeze for CovariantOptionalExample
impl RefUnwindSafe for CovariantOptionalExample
impl Send for CovariantOptionalExample
impl Sync for CovariantOptionalExample
impl Unpin for CovariantOptionalExample
impl UnwindSafe for CovariantOptionalExample
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<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.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.