#[repr(transparent)]pub struct Port2Verid(pub u32);Expand description
Version ID.
Tuple Fields§
§0: u32Implementations§
Source§impl Port2Verid
impl Port2Verid
Sourcepub const fn feature(&self) -> Port2Feature
pub const fn feature(&self) -> Port2Feature
Feature Specification Number.
Sourcepub const fn set_feature(&mut self, val: Port2Feature)
pub const fn set_feature(&mut self, val: Port2Feature)
Feature Specification Number.
Trait Implementations§
Source§impl Clone for Port2Verid
impl Clone for Port2Verid
Source§fn clone(&self) -> Port2Verid
fn clone(&self) -> Port2Verid
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 Port2Verid
impl Debug for Port2Verid
Source§impl Default for Port2Verid
impl Default for Port2Verid
Source§fn default() -> Port2Verid
fn default() -> Port2Verid
Returns the “default value” for a type. Read more
Source§impl PartialEq for Port2Verid
impl PartialEq for Port2Verid
impl Copy for Port2Verid
impl Eq for Port2Verid
impl StructuralPartialEq for Port2Verid
Auto Trait Implementations§
impl Freeze for Port2Verid
impl RefUnwindSafe for Port2Verid
impl Send for Port2Verid
impl Sync for Port2Verid
impl Unpin for Port2Verid
impl UnwindSafe for Port2Verid
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