[−][src]Struct hash40::Hash40
Implementations
impl Hash40
[src]
pub fn crc(self) -> u32
[src]
pub fn strlen(self) -> u8
[src]
pub fn from_hex_str(value: &str) -> Result<Self, Option<ParseIntError>>
[src]
Trait Implementations
impl Clone for Hash40
[src]
impl Copy for Hash40
[src]
impl Debug for Hash40
[src]
impl Default for Hash40
[src]
impl<'de> Deserialize<'de> for Hash40
[src]
pub fn deserialize<D: Deserializer<'de>>(
deserializer: D
) -> Result<Self, D::Error>
[src]
deserializer: D
) -> Result<Self, D::Error>
impl Diff for Hash40
[src]
type Repr = Option<Hash40>
The type associated with the structs' difference
pub fn diff(&self, other: &Self) -> Self::Repr
[src]
pub fn apply(&mut self, diff: &Self::Repr)
[src]
pub fn identity() -> Self
[src]
pub fn diff_custom<D>(
&self,
other: &Self,
visitor: &D
) -> <D as Differ<Self>>::Repr where
D: Differ<Self>,
[src]
&self,
other: &Self,
visitor: &D
) -> <D as Differ<Self>>::Repr where
D: Differ<Self>,
pub fn apply_custom<D>(&mut self, diff: &<D as Differ<Self>>::Repr, visitor: &D) where
D: Differ<Self>,
[src]
D: Differ<Self>,
pub fn apply_new(&self, diff: &Self::Repr) -> Self
[src]
pub fn apply_new_custom<D>(
&self,
diff: &<D as Differ<Self>>::Repr,
visitor: &D
) -> Self where
D: Differ<Self>,
[src]
&self,
diff: &<D as Differ<Self>>::Repr,
visitor: &D
) -> Self where
D: Differ<Self>,
impl Display for Hash40
[src]
impl Eq for Hash40
[src]
impl FromStr for Hash40
[src]
type Err = ParseIntError
The associated error which can be returned from parsing.
pub fn from_str(f: &str) -> Result<Self, ParseIntError>
[src]
impl Hash for Hash40
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for Hash40
[src]
pub fn cmp(&self, other: &Hash40) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<Hash40> for Hash40
[src]
impl PartialOrd<Hash40> for Hash40
[src]
pub fn partial_cmp(&self, other: &Hash40) -> Option<Ordering>
[src]
pub fn lt(&self, other: &Hash40) -> bool
[src]
pub fn le(&self, other: &Hash40) -> bool
[src]
pub fn gt(&self, other: &Hash40) -> bool
[src]
pub fn ge(&self, other: &Hash40) -> bool
[src]
impl Serialize for Hash40
[src]
impl StructuralEq for Hash40
[src]
impl StructuralPartialEq for Hash40
[src]
Auto Trait Implementations
impl RefUnwindSafe for Hash40
impl Send for Hash40
impl Sync for Hash40
impl Unpin for Hash40
impl UnwindSafe for Hash40
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,