#[repr(C)]pub struct _DCB {Show 16 fields
pub DCBlength: DWORD,
pub BaudRate: DWORD,
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
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_align_1: [u32; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>
§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: WORD
Implementations§
Source§impl _DCB
impl _DCB
pub fn fBinary(&self) -> DWORD
pub fn set_fBinary(&mut self, val: DWORD)
pub unsafe fn fBinary_raw(this: *const Self) -> DWORD
pub unsafe fn set_fBinary_raw(this: *mut Self, val: DWORD)
pub fn fParity(&self) -> DWORD
pub fn set_fParity(&mut self, val: DWORD)
pub unsafe fn fParity_raw(this: *const Self) -> DWORD
pub unsafe fn set_fParity_raw(this: *mut Self, val: DWORD)
pub fn fOutxCtsFlow(&self) -> DWORD
pub fn set_fOutxCtsFlow(&mut self, val: DWORD)
pub unsafe fn fOutxCtsFlow_raw(this: *const Self) -> DWORD
pub unsafe fn set_fOutxCtsFlow_raw(this: *mut Self, val: DWORD)
pub fn fOutxDsrFlow(&self) -> DWORD
pub fn set_fOutxDsrFlow(&mut self, val: DWORD)
pub unsafe fn fOutxDsrFlow_raw(this: *const Self) -> DWORD
pub unsafe fn set_fOutxDsrFlow_raw(this: *mut Self, val: DWORD)
pub fn fDtrControl(&self) -> DWORD
pub fn set_fDtrControl(&mut self, val: DWORD)
pub unsafe fn fDtrControl_raw(this: *const Self) -> DWORD
pub unsafe fn set_fDtrControl_raw(this: *mut Self, val: DWORD)
pub fn fDsrSensitivity(&self) -> DWORD
pub fn set_fDsrSensitivity(&mut self, val: DWORD)
pub unsafe fn fDsrSensitivity_raw(this: *const Self) -> DWORD
pub unsafe fn set_fDsrSensitivity_raw(this: *mut Self, val: DWORD)
pub fn fTXContinueOnXoff(&self) -> DWORD
pub fn set_fTXContinueOnXoff(&mut self, val: DWORD)
pub unsafe fn fTXContinueOnXoff_raw(this: *const Self) -> DWORD
pub unsafe fn set_fTXContinueOnXoff_raw(this: *mut Self, val: DWORD)
pub fn fOutX(&self) -> DWORD
pub fn set_fOutX(&mut self, val: DWORD)
pub unsafe fn fOutX_raw(this: *const Self) -> DWORD
pub unsafe fn set_fOutX_raw(this: *mut Self, val: DWORD)
pub fn fInX(&self) -> DWORD
pub fn set_fInX(&mut self, val: DWORD)
pub unsafe fn fInX_raw(this: *const Self) -> DWORD
pub unsafe fn set_fInX_raw(this: *mut Self, val: DWORD)
pub fn fErrorChar(&self) -> DWORD
pub fn set_fErrorChar(&mut self, val: DWORD)
pub unsafe fn fErrorChar_raw(this: *const Self) -> DWORD
pub unsafe fn set_fErrorChar_raw(this: *mut Self, val: DWORD)
pub fn fNull(&self) -> DWORD
pub fn set_fNull(&mut self, val: DWORD)
pub unsafe fn fNull_raw(this: *const Self) -> DWORD
pub unsafe fn set_fNull_raw(this: *mut Self, val: DWORD)
pub fn fRtsControl(&self) -> DWORD
pub fn set_fRtsControl(&mut self, val: DWORD)
pub unsafe fn fRtsControl_raw(this: *const Self) -> DWORD
pub unsafe fn set_fRtsControl_raw(this: *mut Self, val: DWORD)
pub fn fAbortOnError(&self) -> DWORD
pub fn set_fAbortOnError(&mut self, val: DWORD)
pub unsafe fn fAbortOnError_raw(this: *const Self) -> DWORD
pub unsafe fn set_fAbortOnError_raw(this: *mut Self, val: DWORD)
pub fn fDummy2(&self) -> DWORD
pub fn set_fDummy2(&mut self, val: DWORD)
pub unsafe fn fDummy2_raw(this: *const Self) -> DWORD
pub unsafe fn set_fDummy2_raw(this: *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]>
Trait Implementations§
Source§impl Ord for _DCB
impl Ord for _DCB
Source§impl PartialOrd for _DCB
impl PartialOrd for _DCB
impl Copy for _DCB
impl Eq for _DCB
impl StructuralPartialEq for _DCB
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