pub enum Baud {
B115200,
B57600,
B38400,
B19200,
B9600,
B4800,
B2400,
B1200,
B300,
B50,
}Expand description
Serial port speed, measured in bauds.
Variants§
Implementations§
Source§impl Baud
impl Baud
pub fn from_register_value(value: u16) -> Self
pub fn into_register_value(self) -> u16
Trait Implementations§
impl Copy for Baud
impl Eq for Baud
impl StructuralPartialEq for Baud
Auto Trait Implementations§
impl Freeze for Baud
impl RefUnwindSafe for Baud
impl Send for Baud
impl Sync for Baud
impl Unpin for Baud
impl UnwindSafe for Baud
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