#[repr(u8)]pub enum Extendselect {
Zero = 0,
One = 1,
Msbit = 2,
Lsbit = 3,
}
Expand description
Data Formatting Bit Extension
Value on reset: 0
Variants§
Zero = 0
0: Extend with zeroes
One = 1
1: Extend with ones
Msbit = 2
2: Extend with Most Significant Bit
Lsbit = 3
3: Extend with Least Significant Bit
Trait Implementations§
Source§impl Clone for Extendselect
impl Clone for Extendselect
Source§fn clone(&self) -> Extendselect
fn clone(&self) -> Extendselect
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 Extendselect
impl Debug for Extendselect
Source§impl From<Extendselect> for u8
impl From<Extendselect> for u8
Source§fn from(variant: Extendselect) -> Self
fn from(variant: Extendselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Extendselect
impl PartialEq for Extendselect
impl Copy for Extendselect
impl Eq for Extendselect
impl IsEnum for Extendselect
impl StructuralPartialEq for Extendselect
Auto Trait Implementations§
impl Freeze for Extendselect
impl RefUnwindSafe for Extendselect
impl Send for Extendselect
impl Sync for Extendselect
impl Unpin for Extendselect
impl UnwindSafe for Extendselect
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