Struct netsim_embed::quic::HeaderForm
source · pub struct HeaderForm(pub u8);Tuple Fields§
§0: u8Implementations§
source§impl HeaderForm
impl HeaderForm
sourcepub fn new(val: u8) -> HeaderForm
pub fn new(val: u8) -> HeaderForm
Construct a new FixedBit.
Trait Implementations§
source§impl Clone for HeaderForm
impl Clone for HeaderForm
source§fn clone(&self) -> HeaderForm
fn clone(&self) -> HeaderForm
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 HeaderForm
impl Debug for HeaderForm
source§impl Display for HeaderForm
impl Display for HeaderForm
source§impl Hash for HeaderForm
impl Hash for HeaderForm
source§impl Ord for HeaderForm
impl Ord for HeaderForm
source§fn cmp(&self, other: &HeaderForm) -> Ordering
fn cmp(&self, other: &HeaderForm) -> 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<HeaderForm> for HeaderForm
impl PartialEq<HeaderForm> for HeaderForm
source§fn eq(&self, other: &HeaderForm) -> bool
fn eq(&self, other: &HeaderForm) -> bool
source§impl PartialOrd<HeaderForm> for HeaderForm
impl PartialOrd<HeaderForm> for HeaderForm
source§fn partial_cmp(&self, other: &HeaderForm) -> Option<Ordering>
fn partial_cmp(&self, other: &HeaderForm) -> 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 moresource§impl PrimitiveValues for HeaderForm
impl PrimitiveValues for HeaderForm
source§fn to_primitive_values(&self) -> <HeaderForm as PrimitiveValues>::T
fn to_primitive_values(&self) -> <HeaderForm as PrimitiveValues>::T
Convert a value to primitive types representing it.