Struct vc6_sys::_DCB

source ·
#[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

source

pub fn fBinary(&self) -> DWORD

source

pub fn set_fBinary(&mut self, val: DWORD)

source

pub fn fParity(&self) -> DWORD

source

pub fn set_fParity(&mut self, val: DWORD)

source

pub fn fOutxCtsFlow(&self) -> DWORD

source

pub fn set_fOutxCtsFlow(&mut self, val: DWORD)

source

pub fn fOutxDsrFlow(&self) -> DWORD

source

pub fn set_fOutxDsrFlow(&mut self, val: DWORD)

source

pub fn fDtrControl(&self) -> DWORD

source

pub fn set_fDtrControl(&mut self, val: DWORD)

source

pub fn fDsrSensitivity(&self) -> DWORD

source

pub fn set_fDsrSensitivity(&mut self, val: DWORD)

source

pub fn fTXContinueOnXoff(&self) -> DWORD

source

pub fn set_fTXContinueOnXoff(&mut self, val: DWORD)

source

pub fn fOutX(&self) -> DWORD

source

pub fn set_fOutX(&mut self, val: DWORD)

source

pub fn fInX(&self) -> DWORD

source

pub fn set_fInX(&mut self, val: DWORD)

source

pub fn fErrorChar(&self) -> DWORD

source

pub fn set_fErrorChar(&mut self, val: DWORD)

source

pub fn fNull(&self) -> DWORD

source

pub fn set_fNull(&mut self, val: DWORD)

source

pub fn fRtsControl(&self) -> DWORD

source

pub fn set_fRtsControl(&mut self, val: DWORD)

source

pub fn fAbortOnError(&self) -> DWORD

source

pub fn set_fAbortOnError(&mut self, val: DWORD)

source

pub fn fDummy2(&self) -> DWORD

source

pub fn set_fDummy2(&mut self, val: DWORD)

source

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 Clone for _DCB

source§

fn clone(&self) -> _DCB

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
source§

impl Debug for _DCB

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

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.