pub struct PortFeature(/* private fields */);Implementations§
Source§impl PortFeature
impl PortFeature
Source§impl PortFeature
impl PortFeature
Trait Implementations§
Source§impl Clone for PortFeature
impl Clone for PortFeature
Source§fn clone(&self) -> PortFeature
fn clone(&self) -> PortFeature
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 PortFeature
impl Debug for PortFeature
Source§impl From<PortFeature> for u16
impl From<PortFeature> for u16
Source§fn from(val: PortFeature) -> u16
fn from(val: PortFeature) -> u16
Converts to this type from the input type.
Source§impl From<u16> for PortFeature
impl From<u16> for PortFeature
Source§fn from(val: u16) -> PortFeature
fn from(val: u16) -> PortFeature
Converts to this type from the input type.
Source§impl Ord for PortFeature
impl Ord for PortFeature
Source§fn cmp(&self, other: &PortFeature) -> Ordering
fn cmp(&self, other: &PortFeature) -> 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 PortFeature
impl PartialEq for PortFeature
Source§impl PartialOrd for PortFeature
impl PartialOrd for PortFeature
impl Copy for PortFeature
impl Eq for PortFeature
impl StructuralPartialEq for PortFeature
Auto Trait Implementations§
impl Freeze for PortFeature
impl RefUnwindSafe for PortFeature
impl Send for PortFeature
impl Sync for PortFeature
impl Unpin for PortFeature
impl UnwindSafe for PortFeature
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