Struct kernel::hil::uart::Parameters
source · pub struct Parameters {
pub baud_rate: u32,
pub width: Width,
pub parity: Parity,
pub stop_bits: StopBits,
pub hw_flow_control: bool,
}
Fields§
§baud_rate: u32
§width: Width
§parity: Parity
§stop_bits: StopBits
§hw_flow_control: bool
Trait Implementations§
source§impl Clone for Parameters
impl Clone for Parameters
source§fn clone(&self) -> Parameters
fn clone(&self) -> Parameters
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Parameters
impl Debug for Parameters
impl Copy for Parameters
Auto Trait Implementations§
impl RefUnwindSafe for Parameters
impl Send for Parameters
impl Sync for Parameters
impl Unpin for Parameters
impl UnwindSafe for Parameters
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