Enum esp_idf_hal::uart::config::StopBits
source · pub enum StopBits {
STOP1,
STOP1P5,
STOP2,
}
Expand description
Number of stop bits
Variants§
Trait Implementations§
source§impl From<StopBits> for uart_stop_bits_t
impl From<StopBits> for uart_stop_bits_t
source§impl From<u32> for StopBits
impl From<u32> for StopBits
source§fn from(stop_bits: uart_stop_bits_t) -> Self
fn from(stop_bits: uart_stop_bits_t) -> Self
Converts to this type from the input type.
impl Copy for StopBits
impl Eq for StopBits
impl StructuralPartialEq for StopBits
Auto Trait Implementations§
impl Freeze for StopBits
impl RefUnwindSafe for StopBits
impl Send for StopBits
impl Sync for StopBits
impl Unpin for StopBits
impl UnwindSafe for StopBits
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,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)