#[repr(C)]
pub struct DCB {Show 15 fields
pub DCBlength: DWORD,
pub BaudRate: DWORD,
pub BitFields: DWORD,
pub wReserved: WORD,
pub XonLim: WORD,
pub XoffLim: WORD,
pub ByteSize: BYTE,
pub Parity: BYTE,
pub StopBits: BYTE,
pub XonChar: c_char,
pub XoffChar: c_char,
pub ErrorChar: c_char,
pub EofChar: c_char,
pub EvtChar: c_char,
pub wReserved1: WORD,
}
Performs copy-assignment from
source
.
Read more
Returns the “default value” for a type.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.