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