Struct mutnet::no_previous_header::NoPreviousHeader
source · pub struct NoPreviousHeader { /* private fields */ }
Expand description
Contains metadata about the headroom and data length.
Trait Implementations§
source§impl Clone for NoPreviousHeader
impl Clone for NoPreviousHeader
source§fn clone(&self) -> NoPreviousHeader
fn clone(&self) -> NoPreviousHeader
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 NoPreviousHeader
impl Debug for NoPreviousHeader
source§impl Hash for NoPreviousHeader
impl Hash for NoPreviousHeader
source§impl Ord for NoPreviousHeader
impl Ord for NoPreviousHeader
source§fn cmp(&self, other: &NoPreviousHeader) -> Ordering
fn cmp(&self, other: &NoPreviousHeader) -> 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 NoPreviousHeader
impl PartialEq for NoPreviousHeader
source§fn eq(&self, other: &NoPreviousHeader) -> bool
fn eq(&self, other: &NoPreviousHeader) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NoPreviousHeader
impl PartialOrd for NoPreviousHeader
source§fn partial_cmp(&self, other: &NoPreviousHeader) -> Option<Ordering>
fn partial_cmp(&self, other: &NoPreviousHeader) -> 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 NoPreviousHeader
impl Eq for NoPreviousHeader
impl StructuralPartialEq for NoPreviousHeader
Auto Trait Implementations§
impl Freeze for NoPreviousHeader
impl RefUnwindSafe for NoPreviousHeader
impl Send for NoPreviousHeader
impl Sync for NoPreviousHeader
impl Unpin for NoPreviousHeader
impl UnwindSafe for NoPreviousHeader
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