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