pub struct HashX(pub [u8; 32]);Tuple Fields§
§0: [u8; 32]Implementations§
Source§impl HashX
impl HashX
pub fn to_string(&self) -> HeaplessString<{ Self::ENCODED_LEN }>
pub fn from_string(s: &str) -> Result<Self, DecodeError>
pub fn from_slice(s: &[u8]) -> Result<Self, DecodeError>
Trait Implementations§
Source§impl Ord for HashX
impl Ord for HashX
Source§impl PartialOrd for HashX
impl PartialOrd for HashX
impl Copy for HashX
impl Eq for HashX
impl StructuralPartialEq for HashX
Auto Trait Implementations§
impl Freeze for HashX
impl RefUnwindSafe for HashX
impl Send for HashX
impl Sync for HashX
impl Unpin for HashX
impl UnwindSafe for HashX
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