#[repr(u8)]pub enum Port4Range {
Range0 = 0,
Range1 = 1,
}Variants§
Implementations§
Source§impl Port4Range
impl Port4Range
Trait Implementations§
Source§impl Clone for Port4Range
impl Clone for Port4Range
Source§fn clone(&self) -> Port4Range
fn clone(&self) -> Port4Range
Returns a duplicate 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 Port4Range
impl Debug for Port4Range
Source§impl From<Port4Range> for u8
impl From<Port4Range> for u8
Source§fn from(val: Port4Range) -> u8
fn from(val: Port4Range) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Port4Range
impl From<u8> for Port4Range
Source§fn from(val: u8) -> Port4Range
fn from(val: u8) -> Port4Range
Converts to this type from the input type.
Source§impl Ord for Port4Range
impl Ord for Port4Range
Source§fn cmp(&self, other: &Port4Range) -> Ordering
fn cmp(&self, other: &Port4Range) -> 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 Port4Range
impl PartialEq for Port4Range
Source§impl PartialOrd for Port4Range
impl PartialOrd for Port4Range
impl Copy for Port4Range
impl Eq for Port4Range
impl StructuralPartialEq for Port4Range
Auto Trait Implementations§
impl Freeze for Port4Range
impl RefUnwindSafe for Port4Range
impl Send for Port4Range
impl Sync for Port4Range
impl Unpin for Port4Range
impl UnwindSafe for Port4Range
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