pub struct Hash512Dto(pub [u8; 64]);
Expand description
Hash512.
Tuple Fields§
§0: [u8; 64]
Implementations§
Source§impl Hash512Dto
impl Hash512Dto
pub const LENGTH: usize = 64usize
Sourcepub fn get_hash512(&self) -> [u8; 64]
pub fn get_hash512(&self) -> [u8; 64]
Sourcepub fn serializer(&self) -> Vec<u8> ⓘ
pub fn serializer(&self) -> Vec<u8> ⓘ
Sourcepub fn from_binary(src: &[u8]) -> Self
pub fn from_binary(src: &[u8]) -> Self
Trait Implementations§
Source§impl Clone for Hash512Dto
impl Clone for Hash512Dto
Source§fn clone(&self) -> Hash512Dto
fn clone(&self) -> Hash512Dto
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Hash512Dto
impl Debug for Hash512Dto
impl Copy for Hash512Dto
Auto Trait Implementations§
impl Freeze for Hash512Dto
impl RefUnwindSafe for Hash512Dto
impl Send for Hash512Dto
impl Sync for Hash512Dto
impl Unpin for Hash512Dto
impl UnwindSafe for Hash512Dto
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