Enum esp32c2_hal::serial::config::StopBits
source · pub enum StopBits {
STOP1,
STOP1P5,
STOP2,
}
Expand description
Number of stop bits
Variants
STOP1
1 stop bit
STOP1P5
1.5 stop bits
STOP2
2 stop bits
Trait Implementations
impl Copy for StopBits
impl Eq for StopBits
impl StructuralEq for StopBits
impl StructuralPartialEq for StopBits
Auto Trait Implementations
impl RefUnwindSafe for StopBits
impl Send for StopBits
impl Sync for StopBits
impl Unpin for StopBits
impl UnwindSafe for StopBits
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more