pub struct Ihr(/* private fields */);Expand description
Implementations§
Source§impl Ihr
impl Ihr
Sourcepub const fn from_byte_array(data: [u8; 32]) -> Self
pub const fn from_byte_array(data: [u8; 32]) -> Self
Converts the given tagged hash into a byte array
Sourcepub const fn to_byte_array(self) -> [u8; 32]
pub const fn to_byte_array(self) -> [u8; 32]
Converts the given tagged hash into a byte array
Sourcepub const fn as_byte_array(&self) -> &[u8; 32]
pub const fn as_byte_array(&self) -> &[u8; 32]
Converts the given tagged hash into a byte array
Trait Implementations§
impl Copy for Ihr
impl Eq for Ihr
Source§impl Ord for Ihr
impl Ord for Ihr
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Ihr
impl PartialOrd for Ihr
impl StructuralPartialEq for Ihr
Auto Trait Implementations§
impl Freeze for Ihr
impl RefUnwindSafe for Ihr
impl Send for Ihr
impl Sync for Ihr
impl Unpin for Ihr
impl UnsafeUnpin for Ihr
impl UnwindSafe for Ihr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more