#[repr(C)]pub struct _DCB {Show 15 fields
pub DCBlength: DWORD,
pub BaudRate: DWORD,
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>,
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,
}Fields§
§DCBlength: DWORD§BaudRate: DWORD§_bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>§wReserved: WORD§XonLim: WORD§XoffLim: WORD§ByteSize: BYTE§Parity: BYTE§StopBits: BYTE§XonChar: c_char§XoffChar: c_char§ErrorChar: c_char§EofChar: c_char§EvtChar: c_char§wReserved1: WORDImplementations§
Source§impl _DCB
impl _DCB
pub fn fBinary(&self) -> DWORD
pub fn set_fBinary(&mut self, val: DWORD)
pub fn fParity(&self) -> DWORD
pub fn set_fParity(&mut self, val: DWORD)
pub fn fOutxCtsFlow(&self) -> DWORD
pub fn set_fOutxCtsFlow(&mut self, val: DWORD)
pub fn fOutxDsrFlow(&self) -> DWORD
pub fn set_fOutxDsrFlow(&mut self, val: DWORD)
pub fn fDtrControl(&self) -> DWORD
pub fn set_fDtrControl(&mut self, val: DWORD)
pub fn fDsrSensitivity(&self) -> DWORD
pub fn set_fDsrSensitivity(&mut self, val: DWORD)
pub fn fTXContinueOnXoff(&self) -> DWORD
pub fn set_fTXContinueOnXoff(&mut self, val: DWORD)
pub fn fOutX(&self) -> DWORD
pub fn set_fOutX(&mut self, val: DWORD)
pub fn fInX(&self) -> DWORD
pub fn set_fInX(&mut self, val: DWORD)
pub fn fErrorChar(&self) -> DWORD
pub fn set_fErrorChar(&mut self, val: DWORD)
pub fn fNull(&self) -> DWORD
pub fn set_fNull(&mut self, val: DWORD)
pub fn fRtsControl(&self) -> DWORD
pub fn set_fRtsControl(&mut self, val: DWORD)
pub fn fAbortOnError(&self) -> DWORD
pub fn set_fAbortOnError(&mut self, val: DWORD)
pub fn fDummy2(&self) -> DWORD
pub fn set_fDummy2(&mut self, val: DWORD)
pub fn new_bitfield_1( fBinary: DWORD, fParity: DWORD, fOutxCtsFlow: DWORD, fOutxDsrFlow: DWORD, fDtrControl: DWORD, fDsrSensitivity: DWORD, fTXContinueOnXoff: DWORD, fOutX: DWORD, fInX: DWORD, fErrorChar: DWORD, fNull: DWORD, fRtsControl: DWORD, fAbortOnError: DWORD, fDummy2: DWORD, ) -> __BindgenBitfieldUnit<[u8; 4], u32>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for _DCB
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> 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