Struct Baudrate
#[repr(transparent)]pub struct Baudrate(pub u32);
Tuple Fields§
§0: u32
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 Ord for Baudrate
impl Ord for Baudrate
§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
)