pub struct SerialDeviceInfo {
pub address: u64,
pub size: u64,
pub irq: u32,
}Expand description
Information about a serial device (16550-style UART) created by add_serial_devices().
Fields§
§address: u64Address of the device on the bus. This is the I/O bus on x86 machines and MMIO otherwise.
size: u64Size of the device’s address space on the bus.
irq: u32IRQ number of the device.
Auto Trait Implementations§
impl Freeze for SerialDeviceInfo
impl RefUnwindSafe for SerialDeviceInfo
impl Send for SerialDeviceInfo
impl Sync for SerialDeviceInfo
impl Unpin for SerialDeviceInfo
impl UnwindSafe for SerialDeviceInfo
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