#[repr(u8)]pub enum SegmentBits {
SegA = 1,
SegB = 2,
SegC = 4,
SegD = 8,
SegE = 16,
SegF = 32,
SegG = 64,
SegPoint = 128,
}
Available on crate feature
mappings
only.Expand description
Maps the segment from the device to its bit.
Variants§
SegA = 1
A segment
SegB = 2
B segment
SegC = 4
C segment
SegD = 8
D segment
SegE = 16
E segment
SegF = 32
F segment
SegG = 64
G segment
SegPoint = 128
Double point
§Usage
Or
this bit with the bit responsible for displaying the double point. Often second position.
Implementations§
Trait Implementations§
source§impl Clone for SegmentBits
impl Clone for SegmentBits
source§fn clone(&self) -> SegmentBits
fn clone(&self) -> SegmentBits
Returns a copy of the value. Read more
1.6.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 SegmentBits
impl Debug for SegmentBits
source§impl Format for SegmentBits
impl Format for SegmentBits
impl Copy for SegmentBits
Auto Trait Implementations§
impl Freeze for SegmentBits
impl RefUnwindSafe for SegmentBits
impl Send for SegmentBits
impl Sync for SegmentBits
impl Unpin for SegmentBits
impl UnwindSafe for SegmentBits
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)