Struct libipld_core::raw_value::RawValue
source · pub struct RawValue<C> { /* private fields */ }
Expand description
A raw value for a certain codec.
Contains the raw, unprocessed data for a single item for that particular codec
Trait Implementations§
source§impl<C: Ord> Ord for RawValue<C>
impl<C: Ord> Ord for RawValue<C>
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<C: PartialEq> PartialEq<RawValue<C>> for RawValue<C>
impl<C: PartialEq> PartialEq<RawValue<C>> for RawValue<C>
source§impl<C: PartialOrd> PartialOrd<RawValue<C>> for RawValue<C>
impl<C: PartialOrd> PartialOrd<RawValue<C>> for RawValue<C>
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 more