#[repr(transparent)]pub struct Baudrate(pub u32);
Tuple Fields§
§0: u32
Implementations§
Source§impl Baudrate
impl Baudrate
Sourcepub const BAUD115200: Self = _
pub const BAUD115200: Self = _
115200 baud (actual rate: 115942)
Sourcepub const BAUD230400: Self = _
pub const BAUD230400: Self = _
230400 baud (actual rate: 231884)
Sourcepub const BAUD250000: Self = _
pub const BAUD250000: Self = _
250000 baud
Sourcepub const BAUD460800: Self = _
pub const BAUD460800: Self = _
460800 baud (actual rate: 470588)
Sourcepub const BAUD921600: Self = _
pub const BAUD921600: Self = _
921600 baud (actual rate: 941176)
Trait Implementations§
Source§impl Ord for Baudrate
impl Ord for Baudrate
Source§impl PartialOrd for Baudrate
impl PartialOrd for Baudrate
impl Copy for Baudrate
impl Eq 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§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
)