pub struct FullScaleCurrent { /* private fields */ }Expand description
Full-scale LED current code. Code 0 is 5 mA, then each step adds 0.75 mA.
Implementations§
Trait Implementations§
Source§impl Clone for FullScaleCurrent
impl Clone for FullScaleCurrent
Source§fn clone(&self) -> FullScaleCurrent
fn clone(&self) -> FullScaleCurrent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FullScaleCurrent
Source§impl Debug for FullScaleCurrent
impl Debug for FullScaleCurrent
Source§impl Default for FullScaleCurrent
impl Default for FullScaleCurrent
impl Eq for FullScaleCurrent
Source§impl Ord for FullScaleCurrent
impl Ord for FullScaleCurrent
Source§fn cmp(&self, other: &FullScaleCurrent) -> Ordering
fn cmp(&self, other: &FullScaleCurrent) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FullScaleCurrent
impl PartialEq for FullScaleCurrent
Source§fn eq(&self, other: &FullScaleCurrent) -> bool
fn eq(&self, other: &FullScaleCurrent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for FullScaleCurrent
impl PartialOrd for FullScaleCurrent
impl StructuralPartialEq for FullScaleCurrent
Auto Trait Implementations§
impl Freeze for FullScaleCurrent
impl RefUnwindSafe for FullScaleCurrent
impl Send for FullScaleCurrent
impl Sync for FullScaleCurrent
impl Unpin for FullScaleCurrent
impl UnsafeUnpin for FullScaleCurrent
impl UnwindSafe for FullScaleCurrent
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