#[repr(C)]
pub struct DCB {
Show 15 fields pub DCBlength: u32, pub BaudRate: u32, pub _bitfield: u32, pub wReserved: u16, pub XonLim: u16, pub XoffLim: u16, pub ByteSize: u8, pub Parity: DCB_PARITY, pub StopBits: DCB_STOP_BITS, pub XonChar: u8, pub XoffChar: u8, pub ErrorChar: u8, pub EofChar: u8, pub EvtChar: u8, pub wReserved1: u16,
}

Fields§

§DCBlength: u32§BaudRate: u32§_bitfield: u32§wReserved: u16§XonLim: u16§XoffLim: u16§ByteSize: u8§Parity: DCB_PARITY§StopBits: DCB_STOP_BITS§XonChar: u8§XoffChar: u8§ErrorChar: u8§EofChar: u8§EvtChar: u8§wReserved1: u16

Trait Implementations§

§

impl Clone for DCB

§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Copy for DCB

Auto Trait Implementations§

§

impl RefUnwindSafe for DCB

§

impl Send for DCB

§

impl Sync for DCB

§

impl Unpin for DCB

§

impl UnwindSafe for DCB

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.