#[repr(C)]pub struct PamojaSerialSettings {
pub baud: u32,
pub parity: u8,
pub stop_bits: u8,
}Expand description
A port’s speed and character format: eight data bits, with the parity and stop bits given.
Fields§
§baud: u32The speed, in bits a second.
parity: u8§stop_bits: u81 or 2.
Trait Implementations§
Source§impl Clone for PamojaSerialSettings
impl Clone for PamojaSerialSettings
Source§fn clone(&self) -> PamojaSerialSettings
fn clone(&self) -> PamojaSerialSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PamojaSerialSettings
Source§impl Debug for PamojaSerialSettings
impl Debug for PamojaSerialSettings
impl Eq for PamojaSerialSettings
Source§impl From<Settings> for PamojaSerialSettings
impl From<Settings> for PamojaSerialSettings
Source§impl PartialEq for PamojaSerialSettings
impl PartialEq for PamojaSerialSettings
impl StructuralPartialEq for PamojaSerialSettings
Auto Trait Implementations§
impl Freeze for PamojaSerialSettings
impl RefUnwindSafe for PamojaSerialSettings
impl Send for PamojaSerialSettings
impl Sync for PamojaSerialSettings
impl Unpin for PamojaSerialSettings
impl UnsafeUnpin for PamojaSerialSettings
impl UnwindSafe for PamojaSerialSettings
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