#[repr(transparent)]pub struct Enetptprefclksel(pub u32);Expand description
Ethernet PTP REF Clock Selection
Tuple Fields§
§0: u32Implementations§
Source§impl Enetptprefclksel
impl Enetptprefclksel
Sourcepub const fn sel(&self) -> EnetptprefclkselSel
pub const fn sel(&self) -> EnetptprefclkselSel
Selects the Ethernet PTP REF clock
Sourcepub const fn set_sel(&mut self, val: EnetptprefclkselSel)
pub const fn set_sel(&mut self, val: EnetptprefclkselSel)
Selects the Ethernet PTP REF clock
Trait Implementations§
Source§impl Clone for Enetptprefclksel
impl Clone for Enetptprefclksel
Source§fn clone(&self) -> Enetptprefclksel
fn clone(&self) -> Enetptprefclksel
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 Enetptprefclksel
impl Debug for Enetptprefclksel
Source§impl Default for Enetptprefclksel
impl Default for Enetptprefclksel
Source§fn default() -> Enetptprefclksel
fn default() -> Enetptprefclksel
Returns the “default value” for a type. Read more
Source§impl PartialEq for Enetptprefclksel
impl PartialEq for Enetptprefclksel
impl Copy for Enetptprefclksel
impl Eq for Enetptprefclksel
impl StructuralPartialEq for Enetptprefclksel
Auto Trait Implementations§
impl Freeze for Enetptprefclksel
impl RefUnwindSafe for Enetptprefclksel
impl Send for Enetptprefclksel
impl Sync for Enetptprefclksel
impl Unpin for Enetptprefclksel
impl UnwindSafe for Enetptprefclksel
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