#[repr(C)]
pub struct COMMPROP {Show 18 fields
pub wPacketLength: WORD,
pub wPacketVersion: WORD,
pub dwServiceMask: DWORD,
pub dwReserved1: DWORD,
pub dwMaxTxQueue: DWORD,
pub dwMaxRxQueue: DWORD,
pub dwMaxBaud: DWORD,
pub dwProvSubType: DWORD,
pub dwProvCapabilities: DWORD,
pub dwSettableParams: DWORD,
pub dwSettableBaud: DWORD,
pub wSettableData: WORD,
pub wSettableStopParity: WORD,
pub dwCurrentTxQueue: DWORD,
pub dwCurrentRxQueue: DWORD,
pub dwProvSpec1: DWORD,
pub dwProvSpec2: DWORD,
pub wcProvChar: [WCHAR; 1],
}
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.