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: i32dsr: i32rng: i32dcd: i32rx: i32tx: i32frame: i32overrun: i32parity: i32brk: i32buf_overrun: i32Trait Implementations
sourceimpl Clone for serial_icounter_struct_t
impl Clone for serial_icounter_struct_t
sourcefn clone(&self) -> serial_icounter_struct_t
fn clone(&self) -> serial_icounter_struct_t
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for serial_icounter_struct_t
impl Debug for serial_icounter_struct_t
sourceimpl Default for serial_icounter_struct_t
impl Default for serial_icounter_struct_t
sourcefn default() -> serial_icounter_struct_t
fn default() -> serial_icounter_struct_t
Returns the “default value” for a type. Read more
impl Copy for serial_icounter_struct_t
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more