pub struct ReferenceAliasExample(pub AnyExample);
Tuple Fields§
§0: AnyExample
Methods from Deref<Target = AnyExample>§
Trait Implementations§
source§impl Clone for ReferenceAliasExample
impl Clone for ReferenceAliasExample
source§fn clone(&self) -> ReferenceAliasExample
fn clone(&self) -> ReferenceAliasExample
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 ReferenceAliasExample
impl Debug for ReferenceAliasExample
source§impl Deref for ReferenceAliasExample
impl Deref for ReferenceAliasExample
§type Target = AnyExample
type Target = AnyExample
The resulting type after dereferencing.
source§fn deref(&self) -> &AnyExample
fn deref(&self) -> &AnyExample
Dereferences the value.
source§impl DerefMut for ReferenceAliasExample
impl DerefMut for ReferenceAliasExample
source§fn deref_mut(&mut self) -> &mut AnyExample
fn deref_mut(&mut self) -> &mut AnyExample
Mutably dereferences the value.
source§impl<'de> Deserialize<'de> for ReferenceAliasExample
impl<'de> Deserialize<'de> for ReferenceAliasExample
source§fn deserialize<D>(d: D) -> Result<ReferenceAliasExample, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<ReferenceAliasExample, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<AnyExample> for ReferenceAliasExample
impl From<AnyExample> for ReferenceAliasExample
source§fn from(v: AnyExample) -> Self
fn from(v: AnyExample) -> Self
Converts to this type from the input type.
source§impl Hash for ReferenceAliasExample
impl Hash for ReferenceAliasExample
source§impl Ord for ReferenceAliasExample
impl Ord for ReferenceAliasExample
source§fn cmp(&self, other: &ReferenceAliasExample) -> Ordering
fn cmp(&self, other: &ReferenceAliasExample) -> 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 ReferenceAliasExample
impl PartialEq for ReferenceAliasExample
source§fn eq(&self, other: &ReferenceAliasExample) -> bool
fn eq(&self, other: &ReferenceAliasExample) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ReferenceAliasExample
impl PartialOrd for ReferenceAliasExample
source§fn partial_cmp(&self, other: &ReferenceAliasExample) -> Option<Ordering>
fn partial_cmp(&self, other: &ReferenceAliasExample) -> 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 ReferenceAliasExample
impl Serialize for ReferenceAliasExample
impl Eq for ReferenceAliasExample
impl StructuralPartialEq for ReferenceAliasExample
Auto Trait Implementations§
impl Freeze for ReferenceAliasExample
impl RefUnwindSafe for ReferenceAliasExample
impl Send for ReferenceAliasExample
impl Sync for ReferenceAliasExample
impl Unpin for ReferenceAliasExample
impl UnwindSafe for ReferenceAliasExample
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§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.