pub struct Config {
pub reg: NonNull<u8>,
pub baud_rate: u32,
pub clock_freq: u64,
pub data_bits: DataBits,
pub stop_bits: StopBits,
pub parity: Parity,
}Fields§
§reg: NonNull<u8>§baud_rate: u32§clock_freq: u64§data_bits: DataBits§stop_bits: StopBits§parity: ParityAuto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl !Send for Config
impl !Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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