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