[−][src]Struct serialization::hash::H32
Methods
impl H32[src]
impl H32pub fn take(self) -> [u8; 4][src]
pub fn take(self) -> [u8; 4]pub fn reversed(&self) -> H32[src]
pub fn reversed(&self) -> H32pub fn size() -> usize[src]
pub fn size() -> usizepub fn is_zero(&self) -> bool[src]
pub fn is_zero(&self) -> boolTrait Implementations
impl Eq for H32[src]
impl Eq for H32impl PartialEq<H32> for H32[src]
impl PartialEq<H32> for H32fn eq(&self, other: &H32) -> bool[src]
fn eq(&self, other: &H32) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Debug for H32[src]
impl Debug for H32fn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl FromStr for H32[src]
impl FromStr for H32type Err = FromHexError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<H32, <H32 as FromStr>::Err>[src]
fn from_str(s: &str) -> Result<H32, <H32 as FromStr>::Err>Parses a string s to return a value of this type. Read more
impl Deref for H32[src]
impl Deref for H32type Target = [u8; 4]
The resulting type after dereferencing.
fn deref(&self) -> &<H32 as Deref>::Target[src]
fn deref(&self) -> &<H32 as Deref>::TargetDereferences the value.
impl AsRef<H32> for H32[src]
impl AsRef<H32> for H32impl Hash for H32[src]
impl Hash for H32fn hash<H>(&self, state: &mut H) where
H: Hasher, [src]
fn hash<H>(&self, state: &mut H) where
H: Hasher, 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]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl From<&'static str> for H32[src]
impl From<&'static str> for H32impl From<[u8; 4]> for H32[src]
impl From<[u8; 4]> for H32impl From<H32> for [u8; 4][src]
impl From<H32> for [u8; 4]impl From<u8> for H32[src]
impl From<u8> for H32impl<'a> From<&'a [u8]> for H32[src]
impl<'a> From<&'a [u8]> for H32impl PartialOrd<H32> for H32[src]
impl PartialOrd<H32> for H32fn partial_cmp(&self, other: &H32) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &H32) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
#[must_use]
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn lt(&self, other: &Rhs) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
#[must_use]
fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
#[must_use]
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
#[must_use]
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl HeapSizeOf for H32
impl HeapSizeOf for H32fn heap_size_of_children(&self) -> usize
fn heap_size_of_children(&self) -> usizeMeasure the size of any heap-allocated structures that hang off this value, but not the space taken up by the value itself (i.e. what size_of:: measures, more or less); that space is handled by the implementation of HeapSizeOf for Box below. Read more
impl Display for H32[src]
impl Display for H32fn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Clone for H32[src]
impl Clone for H32fn clone(&self) -> H32[src]
fn clone(&self) -> H32Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl DerefMut for H32[src]
impl DerefMut for H32impl Default for H32[src]
impl Default for H32impl Serializable for H32[src]
impl Serializable for H32fn serialize(&self, stream: &mut Stream)[src]
fn serialize(&self, stream: &mut Stream)Serialize the struct and appends it to the end of stream.
fn serialized_size(&self) -> usize[src]
fn serialized_size(&self) -> usizeHint about the size of serialized struct.
fn serialized_size_with_flags(&self, flags: u32) -> usize where
Self: Sized, [src]
fn serialized_size_with_flags(&self, flags: u32) -> usize where
Self: Sized, Hint about the size of serialized struct with given flags.
impl Deserializable for H32[src]
impl Deserializable for H32Auto Trait Implementations
Blanket Implementations
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, type Owned = T
fn to_owned(&self) -> T[src]
fn to_owned(&self) -> TCreates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut T)[src]
fn clone_into(&self, target: &mut T)🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> From for T[src]
impl<T> From for Timpl<T> ToString for T where
T: Display + ?Sized, [src]
impl<T> ToString for T where
T: Display + ?Sized, impl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>try_from)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, ⓘImportant traits for &'a mut Rfn borrow(&self) -> &T[src]
fn borrow(&self) -> &TImmutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>try_from)Performs the conversion.
impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, ⓘImportant traits for &'a mut Rfn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut TMutably borrows from an owned value. Read more
impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeId🔬 This is a nightly-only experimental API. (get_type_id)
this method will likely be replaced by an associated static
Gets the TypeId of self. Read more