Struct libipld::raw_value::RawValue [−][src]
pub struct RawValue<C> { /* fields omitted */ }
Expand description
A raw value for a certain codec.
Contains the raw, unprocessed data for a single item for that particular codec
Trait Implementations
impl<C> Ord for RawValue<C> where
C: Ord,
[src]
impl<C> Ord for RawValue<C> where
C: Ord,
[src]impl<C> PartialOrd<RawValue<C>> for RawValue<C> where
C: PartialOrd<C>,
[src]
impl<C> PartialOrd<RawValue<C>> for RawValue<C> where
C: PartialOrd<C>,
[src]pub fn partial_cmp(&self, other: &RawValue<C>) -> Option<Ordering>
[src]
pub fn partial_cmp(&self, other: &RawValue<C>) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl<C> Eq for RawValue<C> where
C: Eq,
[src]
C: Eq,
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> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> References<RawCodec> for T
[src]
impl<T> References<RawCodec> for T
[src]impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DagCbor for T where
T: Encode<DagCborCodec> + Decode<DagCborCodec>,
[src]
T: Encode<DagCborCodec> + Decode<DagCborCodec>,