Enum StopBits
pub enum StopBits<A> {
Hal(A),
Stop1,
}Available on crate feature
uart only.Expand description
UART number of stop bits.
Variants§
Trait Implementations§
impl<A> Copy for StopBits<A>where
A: Copy,
impl<A> Eq for StopBits<A>where
A: Eq,
impl<A> StructuralPartialEq for StopBits<A>
Auto Trait Implementations§
impl<A> Freeze for StopBits<A>where
A: Freeze,
impl<A> RefUnwindSafe for StopBits<A>where
A: RefUnwindSafe,
impl<A> Send for StopBits<A>where
A: Send,
impl<A> Sync for StopBits<A>where
A: Sync,
impl<A> Unpin for StopBits<A>where
A: Unpin,
impl<A> UnwindSafe for StopBits<A>where
A: UnwindSafe,
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