[−][src]Struct koibumi_core::hash::Hash160
Represents 160 bit hash value.
Implementations
impl Hash160
[src]
Trait Implementations
impl AsRef<[u8]> for Hash160
[src]
impl Clone for Hash160
[src]
impl Debug for Hash160
[src]
impl Display for Hash160
[src]
Shows bytes in hexadecimal.
impl Eq for Hash160
[src]
impl Hash for Hash160
[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 Index<Range<usize>> for Hash160
[src]
type Output = [u8]
The returned type after indexing.
pub fn index(&self, index: Range<usize>) -> &[u8]
[src]
impl Index<RangeFrom<usize>> for Hash160
[src]
type Output = [u8]
The returned type after indexing.
pub fn index(&self, index: RangeFrom<usize>) -> &[u8]
[src]
impl Index<RangeFull> for Hash160
[src]
type Output = [u8]
The returned type after indexing.
pub fn index(&self, index: RangeFull) -> &[u8]
[src]
impl Index<RangeInclusive<usize>> for Hash160
[src]
type Output = [u8]
The returned type after indexing.
pub fn index(&self, index: RangeInclusive<usize>) -> &[u8]
[src]
impl Index<RangeTo<usize>> for Hash160
[src]
type Output = [u8]
The returned type after indexing.
pub fn index(&self, index: RangeTo<usize>) -> &[u8]
[src]
impl Index<RangeToInclusive<usize>> for Hash160
[src]
type Output = [u8]
The returned type after indexing.
pub fn index(&self, index: RangeToInclusive<usize>) -> &[u8]
[src]
impl Index<usize> for Hash160
[src]
impl Ord for Hash160
[src]
pub fn cmp(&self, other: &Hash160) -> 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<Hash160> for Hash160
[src]
impl PartialOrd<Hash160> for Hash160
[src]
pub fn partial_cmp(&self, other: &Hash160) -> Option<Ordering>
[src]
pub fn lt(&self, other: &Hash160) -> bool
[src]
pub fn le(&self, other: &Hash160) -> bool
[src]
pub fn gt(&self, other: &Hash160) -> bool
[src]
pub fn ge(&self, other: &Hash160) -> bool
[src]
impl StructuralEq for Hash160
[src]
impl StructuralPartialEq for Hash160
[src]
Auto Trait Implementations
impl RefUnwindSafe for Hash160
[src]
impl Send for Hash160
[src]
impl Sync for Hash160
[src]
impl Unpin for Hash160
[src]
impl UnwindSafe for Hash160
[src]
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
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>,