Struct netsim_embed::ethernet::EtherType [−][src]
pub struct EtherType(pub u16);
Represents the Ethernet::ethertype
field.
Implementations
Trait Implementations
impl PartialOrd<EtherType> for EtherType
[src]
impl PartialOrd<EtherType> for EtherType
[src]pub fn partial_cmp(&self, other: &EtherType) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl PrimitiveValues for EtherType
[src]
impl PrimitiveValues for EtherType
[src]impl StructuralEq for EtherType
[src]
impl StructuralEq for EtherType
[src]impl StructuralPartialEq for EtherType
[src]
impl StructuralPartialEq for EtherType
[src]Auto Trait Implementations
impl RefUnwindSafe for EtherType
impl RefUnwindSafe for EtherType
impl UnwindSafe for EtherType
impl UnwindSafe for EtherType
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,