Struct libipld_core::raw_value::RawValue [−][src]
A raw value for a certain codec.
Contains the raw, unprocessed data for a single item for that particular codec
Trait Implementations
impl<C> AsRef<[u8]> for RawValue<C>[src]
impl<C: Clone> Clone for RawValue<C>[src]
impl<C: Debug> Debug for RawValue<C>[src]
impl<C: Codec + SkipOne> Decode<C> for RawValue<C>[src]
impl<C: Codec> Encode<C> for RawValue<C>[src]
impl<C: Eq> Eq for RawValue<C>[src]
impl<C: Ord> Ord for RawValue<C>[src]
fn cmp(&self, other: &RawValue<C>) -> Ordering[src]
#[must_use]pub fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self1.50.0[src]
impl<C: PartialEq> PartialEq<RawValue<C>> for RawValue<C>[src]
impl<C: PartialOrd> PartialOrd<RawValue<C>> for RawValue<C>[src]
fn partial_cmp(&self, other: &RawValue<C>) -> Option<Ordering>[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool1.0.0[src]
impl<C> StructuralEq for RawValue<C>[src]
impl<C> StructuralPartialEq for RawValue<C>[src]
Auto Trait Implementations
impl<C> RefUnwindSafe for RawValue<C> where
C: RefUnwindSafe,
C: RefUnwindSafe,
impl<C> Send for RawValue<C> where
C: Send,
C: Send,
impl<C> Sync for RawValue<C> where
C: Sync,
C: Sync,
impl<C> Unpin for RawValue<C> where
C: Unpin,
C: Unpin,
impl<C> UnwindSafe for RawValue<C> where
C: UnwindSafe,
C: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> References<RawCodec> for T[src]
pub fn references<R, E>(RawCodec, &mut R, &mut E) -> Result<(), Error> where
E: Extend<Cid<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>>,
R: Read, [src]
E: Extend<Cid<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>>,
R: Read,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,