Struct Baudrate
pub struct Baudrate(/* private fields */);Implementations§
§impl Baudrate
impl Baudrate
pub const Baud115200: Baudrate
pub const Baud115200: Baudrate
115200 baud (actual rate: 115108).
pub const Baud230400: Baudrate
pub const Baud230400: Baudrate
230400 baud (actual rate: 231884).
pub const Baud250000: Baudrate
pub const Baud250000: Baudrate
250000 baud.
pub const Baud460800: Baudrate
pub const Baud460800: Baudrate
460800 baud (actual rate: 457143).
pub const Baud921600: Baudrate
pub const Baud921600: Baudrate
921600 baud (actual rate: 941176).
Trait Implementations§
impl Copy for Baudrate
impl Eq for Baudrate
§impl Ord for Baudrate
impl Ord for Baudrate
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Baudrate
impl PartialOrd for Baudrate
impl StructuralPartialEq for Baudrate
Auto Trait Implementations§
impl Freeze for Baudrate
impl RefUnwindSafe for Baudrate
impl Send for Baudrate
impl Sync for Baudrate
impl Unpin for Baudrate
impl UnsafeUnpin for Baudrate
impl UnwindSafe for Baudrate
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