#[repr(u8)]pub enum Optcodelenselect {
_1bit = 0,
_2bits = 1,
_4bits = 2,
_8bits = 3,
}
Expand description
Option Code Length
Value on reset: 0
Variants§
_1bit = 0
0: 1-bit length option code
_2bits = 1
1: 2-bits length option code
_4bits = 2
2: 4-bits length option code
_8bits = 3
3: 8-bits length option code
Trait Implementations§
Source§impl Clone for Optcodelenselect
impl Clone for Optcodelenselect
Source§fn clone(&self) -> Optcodelenselect
fn clone(&self) -> Optcodelenselect
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 Optcodelenselect
impl Debug for Optcodelenselect
Source§impl From<Optcodelenselect> for u8
impl From<Optcodelenselect> for u8
Source§fn from(variant: Optcodelenselect) -> Self
fn from(variant: Optcodelenselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Optcodelenselect
impl PartialEq for Optcodelenselect
impl Copy for Optcodelenselect
impl Eq for Optcodelenselect
impl IsEnum for Optcodelenselect
impl StructuralPartialEq for Optcodelenselect
Auto Trait Implementations§
impl Freeze for Optcodelenselect
impl RefUnwindSafe for Optcodelenselect
impl Send for Optcodelenselect
impl Sync for Optcodelenselect
impl Unpin for Optcodelenselect
impl UnwindSafe for Optcodelenselect
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