Struct tl_proto::HashWrapper
source · [−]pub struct HashWrapper<T>(pub T);Tuple Fields
0: TImplementations
sourceimpl<T> HashWrapper<T> where
T: TlWrite,
impl<T> HashWrapper<T> where
T: TlWrite,
pub fn update_hasher<H: Update>(&self, engine: &mut H)
Trait Implementations
sourceimpl<T> Hash for HashWrapper<T> where
T: TlWrite,
impl<T> Hash for HashWrapper<T> where
T: TlWrite,
sourceimpl<T: PartialEq> PartialEq<HashWrapper<T>> for HashWrapper<T>
impl<T: PartialEq> PartialEq<HashWrapper<T>> for HashWrapper<T>
sourcefn eq(&self, other: &HashWrapper<T>) -> bool
fn eq(&self, other: &HashWrapper<T>) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &HashWrapper<T>) -> bool
fn ne(&self, other: &HashWrapper<T>) -> bool
This method tests for !=.
impl<T: Eq> Eq for HashWrapper<T>
impl<T> StructuralEq for HashWrapper<T>
impl<T> StructuralPartialEq for HashWrapper<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for HashWrapper<T> where
T: RefUnwindSafe,
impl<T> Send for HashWrapper<T> where
T: Send,
impl<T> Sync for HashWrapper<T> where
T: Sync,
impl<T> Unpin for HashWrapper<T> where
T: Unpin,
impl<T> UnwindSafe for HashWrapper<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more