Struct nc::types::serial_struct_t
source · #[repr(C)]pub struct serial_struct_t {Show 18 fields
pub type_: i32,
pub line: i32,
pub port: u32,
pub irq: i32,
pub flags: i32,
pub xmit_fifo_size: i32,
pub custom_divisor: i32,
pub baud_base: i32,
pub close_delay: u16,
pub io_type: u8,
pub reserved_char: [u8; 1],
pub hub6: i32,
pub closing_wait: u16,
pub closing_wait2: u16,
pub iomem_base: *mut u8,
pub iomem_reg_shift: u16,
pub port_high: u32,
pub iomap_base: usize,
}
Fields§
§type_: i32
§line: i32
§port: u32
§irq: i32
§flags: i32
§xmit_fifo_size: i32
§custom_divisor: i32
§baud_base: i32
§close_delay: u16
§io_type: u8
§reserved_char: [u8; 1]
§hub6: i32
§closing_wait: u16
time to wait before closing
closing_wait2: u16
no longer used…
iomem_base: *mut u8
§iomem_reg_shift: u16
§port_high: u32
§iomap_base: usize
cookie passed into ioremap
Trait Implementations§
source§impl Clone for serial_struct_t
impl Clone for serial_struct_t
source§fn clone(&self) -> serial_struct_t
fn clone(&self) -> serial_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 moreAuto Trait Implementations§
impl Freeze for serial_struct_t
impl RefUnwindSafe for serial_struct_t
impl !Send for serial_struct_t
impl !Sync for serial_struct_t
impl Unpin for serial_struct_t
impl UnwindSafe for serial_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