Struct nc::types::serial_icounter_struct_t
source · #[repr(C)]pub struct serial_icounter_struct_t {
pub cts: i32,
pub dsr: i32,
pub rng: i32,
pub dcd: i32,
pub rx: i32,
pub tx: i32,
pub frame: i32,
pub overrun: i32,
pub parity: i32,
pub brk: i32,
pub buf_overrun: i32,
/* private fields */
}
Expand description
Serial input interrupt line counters – external structure Four lines can interrupt: CTS, DSR, RI, DCD
Fields§
§cts: i32
§dsr: i32
§rng: i32
§dcd: i32
§rx: i32
§tx: i32
§frame: i32
§overrun: i32
§parity: i32
§brk: i32
§buf_overrun: i32
Trait Implementations§
source§impl Clone for serial_icounter_struct_t
impl Clone for serial_icounter_struct_t
source§fn clone(&self) -> serial_icounter_struct_t
fn clone(&self) -> serial_icounter_struct_t
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for serial_icounter_struct_t
impl Debug for serial_icounter_struct_t
source§impl Default for serial_icounter_struct_t
impl Default for serial_icounter_struct_t
source§fn default() -> serial_icounter_struct_t
fn default() -> serial_icounter_struct_t
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for serial_icounter_struct_t
impl RefUnwindSafe for serial_icounter_struct_t
impl Send for serial_icounter_struct_t
impl Sync for serial_icounter_struct_t
impl Unpin for serial_icounter_struct_t
impl UnwindSafe for serial_icounter_struct_t
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