#[repr(u8)]pub enum SegmentData {
B0x0 = 0,
B0x1 = 1,
}
Expand description
Each bit corresponds to one pixel of the LCD display.
Value on reset: 0
Variants§
Trait Implementations§
Source§impl Clone for SegmentData
impl Clone for SegmentData
Source§fn clone(&self) -> SegmentData
fn clone(&self) -> SegmentData
Returns a copy 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 SegmentData
impl Debug for SegmentData
Source§impl From<SegmentData> for u8
impl From<SegmentData> for u8
Source§fn from(variant: SegmentData) -> Self
fn from(variant: SegmentData) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SegmentData
impl PartialEq for SegmentData
impl Copy for SegmentData
impl Eq for SegmentData
impl IsEnum for SegmentData
impl StructuralPartialEq for SegmentData
Auto Trait Implementations§
impl Freeze for SegmentData
impl RefUnwindSafe for SegmentData
impl Send for SegmentData
impl Sync for SegmentData
impl Unpin for SegmentData
impl UnwindSafe for SegmentData
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