Enum concordium_std::hashes::PureHashMarker
source · pub enum PureHashMarker {}
Expand description
Used as a phantom type to indicate a hash is a hash with no specific meaning.
Trait Implementations§
source§impl Clone for PureHashMarker
impl Clone for PureHashMarker
source§fn clone(&self) -> PureHashMarker
fn clone(&self) -> PureHashMarker
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 Ord for PureHashMarker
impl Ord for PureHashMarker
source§fn cmp(&self, other: &PureHashMarker) -> Ordering
fn cmp(&self, other: &PureHashMarker) -> 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 PureHashMarker
impl PartialEq for PureHashMarker
source§fn eq(&self, other: &PureHashMarker) -> bool
fn eq(&self, other: &PureHashMarker) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PureHashMarker
impl PartialOrd for PureHashMarker
source§fn partial_cmp(&self, other: &PureHashMarker) -> Option<Ordering>
fn partial_cmp(&self, other: &PureHashMarker) -> 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 Copy for PureHashMarker
impl Eq for PureHashMarker
impl StructuralPartialEq for PureHashMarker
Auto Trait Implementations§
impl RefUnwindSafe for PureHashMarker
impl Send for PureHashMarker
impl Sync for PureHashMarker
impl Unpin for PureHashMarker
impl UnwindSafe for PureHashMarker
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