#[repr(transparent)]pub struct PortConfig(pub u32);Expand description
Configuration.
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
Source§impl Clone for PortConfig
impl Clone for PortConfig
Source§fn clone(&self) -> PortConfig
fn clone(&self) -> PortConfig
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 PortConfig
impl Debug for PortConfig
Source§impl Default for PortConfig
impl Default for PortConfig
Source§fn default() -> PortConfig
fn default() -> PortConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for PortConfig
impl PartialEq for PortConfig
impl Copy for PortConfig
impl Eq for PortConfig
impl StructuralPartialEq for PortConfig
Auto Trait Implementations§
impl Freeze for PortConfig
impl RefUnwindSafe for PortConfig
impl Send for PortConfig
impl Sync for PortConfig
impl Unpin for PortConfig
impl UnwindSafe for PortConfig
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