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