pub enum DataBits {
_5,
_6,
_7,
_8,
}
Expand description
Number of data bits
This enum represents the various configurations for the number of data bits used in UART communication. The number of data bits defines the length of each transmitted or received data frame.
Variants§
_5
5 data bits per frame.
_6
6 data bits per frame.
_7
7 data bits per frame.
_8
8 data bits per frame.
Trait Implementations§
impl Copy for DataBits
impl Eq for DataBits
impl StructuralPartialEq for DataBits
Auto Trait Implementations§
impl Freeze for DataBits
impl RefUnwindSafe for DataBits
impl Send for DataBits
impl Sync for DataBits
impl Unpin for DataBits
impl UnwindSafe for DataBits
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)