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