Struct randomx_rust_wrapper::result_hash::ResultHash
source · pub struct ResultHash { /* private fields */ }Implementations§
source§impl ResultHash
impl ResultHash
pub fn from_slice(hash: [u8; 32]) -> Self
pub fn into_slice(self) -> [u8; 32]
Trait Implementations§
source§impl Clone for ResultHash
impl Clone for ResultHash
source§fn clone(&self) -> ResultHash
fn clone(&self) -> ResultHash
Returns a copy 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 ResultHash
impl Debug for ResultHash
source§impl Ord for ResultHash
impl Ord for ResultHash
source§fn cmp(&self, other: &ResultHash) -> Ordering
fn cmp(&self, other: &ResultHash) -> Ordering
1.21.0 · 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
source§impl PartialEq for ResultHash
impl PartialEq for ResultHash
source§fn eq(&self, other: &ResultHash) -> bool
fn eq(&self, other: &ResultHash) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for ResultHash
impl PartialOrd for ResultHash
source§fn partial_cmp(&self, other: &ResultHash) -> Option<Ordering>
fn partial_cmp(&self, other: &ResultHash) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for ResultHash
impl StructuralPartialEq for ResultHash
Auto Trait Implementations§
impl RefUnwindSafe for ResultHash
impl Send for ResultHash
impl Sync for ResultHash
impl Unpin for ResultHash
impl UnwindSafe for ResultHash
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