Struct reproto_derive::Opaque
[−]
[src]
pub struct Opaque<T> { /* fields omitted */ }
An opaque data structure, well all instances are equal but can contain different data.
Methods
impl<T> Opaque<T>
[src]
Trait Implementations
impl<T: Debug> Debug for Opaque<T>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<T: Clone> Clone for Opaque<T>
[src]
fn clone(&self) -> Opaque<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T> PartialEq for Opaque<T>
[src]
fn eq(&self, _: &Self) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl<T> Eq for Opaque<T>
[src]
impl<T> Hash for Opaque<T>
[src]
fn hash<H: Hasher>(&self, _state: &mut H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<T> Deref for Opaque<T>
[src]
type Target = T
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
Dereferences the value.