Type Alias COMSTAT

Source
pub type COMSTAT = _COMSTAT;

Aliased Type§

struct COMSTAT {
    pub _bitfield_align_1: [u32; 0],
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
    pub cbInQue: u32,
    pub cbOutQue: u32,
}

Fields§

§_bitfield_align_1: [u32; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>§cbInQue: u32§cbOutQue: u32

Implementations

Source§

impl _COMSTAT

Source

pub fn fCtsHold(&self) -> DWORD

Source

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

Source

pub unsafe fn fCtsHold_raw(this: *const Self) -> DWORD

Source

pub unsafe fn set_fCtsHold_raw(this: *mut Self, val: DWORD)

Source

pub fn fDsrHold(&self) -> DWORD

Source

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

Source

pub unsafe fn fDsrHold_raw(this: *const Self) -> DWORD

Source

pub unsafe fn set_fDsrHold_raw(this: *mut Self, val: DWORD)

Source

pub fn fRlsdHold(&self) -> DWORD

Source

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

Source

pub unsafe fn fRlsdHold_raw(this: *const Self) -> DWORD

Source

pub unsafe fn set_fRlsdHold_raw(this: *mut Self, val: DWORD)

Source

pub fn fXoffHold(&self) -> DWORD

Source

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

Source

pub unsafe fn fXoffHold_raw(this: *const Self) -> DWORD

Source

pub unsafe fn set_fXoffHold_raw(this: *mut Self, val: DWORD)

Source

pub fn fXoffSent(&self) -> DWORD

Source

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

Source

pub unsafe fn fXoffSent_raw(this: *const Self) -> DWORD

Source

pub unsafe fn set_fXoffSent_raw(this: *mut Self, val: DWORD)

Source

pub fn fEof(&self) -> DWORD

Source

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

Source

pub unsafe fn fEof_raw(this: *const Self) -> DWORD

Source

pub unsafe fn set_fEof_raw(this: *mut Self, val: DWORD)

Source

pub fn fTxim(&self) -> DWORD

Source

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

Source

pub unsafe fn fTxim_raw(this: *const Self) -> DWORD

Source

pub unsafe fn set_fTxim_raw(this: *mut Self, val: DWORD)

Source

pub fn fReserved(&self) -> DWORD

Source

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

Source

pub unsafe fn fReserved_raw(this: *const Self) -> DWORD

Source

pub unsafe fn set_fReserved_raw(this: *mut Self, val: DWORD)

Source

pub fn new_bitfield_1( fCtsHold: DWORD, fDsrHold: DWORD, fRlsdHold: DWORD, fXoffHold: DWORD, fXoffSent: DWORD, fEof: DWORD, fTxim: DWORD, fReserved: DWORD, ) -> __BindgenBitfieldUnit<[u8; 4]>

Trait Implementations

Source§

impl Clone for _COMSTAT

Source§

fn clone(&self) -> _COMSTAT

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 _COMSTAT

Source§

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

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

impl Ord for _COMSTAT

Source§

fn cmp(&self, other: &_COMSTAT) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for _COMSTAT

Source§

fn eq(&self, other: &_COMSTAT) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for _COMSTAT

Source§

fn partial_cmp(&self, other: &_COMSTAT) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Copy for _COMSTAT

Source§

impl Eq for _COMSTAT

Source§

impl StructuralPartialEq for _COMSTAT