#[repr(u32)]pub enum UsartStopBits {
STOP0P5 = 0,
STOP1 = 1,
STOP1P5 = 2,
STOP2 = 3,
}
Expand description
Number of stop bits
Variants§
Trait Implementations§
Source§impl Clone for UsartStopBits
impl Clone for UsartStopBits
Source§fn clone(&self) -> UsartStopBits
fn clone(&self) -> UsartStopBits
Returns a duplicate 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 UsartStopBits
impl Debug for UsartStopBits
Source§impl PartialEq for UsartStopBits
impl PartialEq for UsartStopBits
impl Copy for UsartStopBits
impl Eq for UsartStopBits
impl StructuralPartialEq for UsartStopBits
Auto Trait Implementations§
impl Freeze for UsartStopBits
impl RefUnwindSafe for UsartStopBits
impl Send for UsartStopBits
impl Sync for UsartStopBits
impl Unpin for UsartStopBits
impl UnwindSafe for UsartStopBits
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