Struct network_types::bitfield::BitfieldUnit
source · #[repr(C)]pub struct BitfieldUnit<Storage> { /* private fields */ }Implementations§
source§impl<Storage> BitfieldUnit<Storage>
impl<Storage> BitfieldUnit<Storage>
Trait Implementations§
source§impl<Storage: Clone> Clone for BitfieldUnit<Storage>
impl<Storage: Clone> Clone for BitfieldUnit<Storage>
source§fn clone(&self) -> BitfieldUnit<Storage>
fn clone(&self) -> BitfieldUnit<Storage>
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<Storage: Debug> Debug for BitfieldUnit<Storage>
impl<Storage: Debug> Debug for BitfieldUnit<Storage>
source§impl<Storage: Default> Default for BitfieldUnit<Storage>
impl<Storage: Default> Default for BitfieldUnit<Storage>
source§fn default() -> BitfieldUnit<Storage>
fn default() -> BitfieldUnit<Storage>
Returns the “default value” for a type. Read more
source§impl<Storage: Hash> Hash for BitfieldUnit<Storage>
impl<Storage: Hash> Hash for BitfieldUnit<Storage>
source§impl<Storage: Ord> Ord for BitfieldUnit<Storage>
impl<Storage: Ord> Ord for BitfieldUnit<Storage>
source§fn cmp(&self, other: &BitfieldUnit<Storage>) -> Ordering
fn cmp(&self, other: &BitfieldUnit<Storage>) -> 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<Storage: PartialEq> PartialEq<BitfieldUnit<Storage>> for BitfieldUnit<Storage>
impl<Storage: PartialEq> PartialEq<BitfieldUnit<Storage>> for BitfieldUnit<Storage>
source§fn eq(&self, other: &BitfieldUnit<Storage>) -> bool
fn eq(&self, other: &BitfieldUnit<Storage>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<Storage: PartialOrd> PartialOrd<BitfieldUnit<Storage>> for BitfieldUnit<Storage>
impl<Storage: PartialOrd> PartialOrd<BitfieldUnit<Storage>> for BitfieldUnit<Storage>
source§fn partial_cmp(&self, other: &BitfieldUnit<Storage>) -> Option<Ordering>
fn partial_cmp(&self, other: &BitfieldUnit<Storage>) -> 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 more