pub struct Device {
pub name: String,
pub address_spaces: Vec<AddressSpace>,
pub peripherals: Vec<Peripheral>,
pub interrupts: Vec<Interrupt>,
}
Expand description
Information fore a specific device.
Fields§
§name: String
The name of the device.
address_spaces: Vec<AddressSpace>
A list of all address spaces the device has.
peripherals: Vec<Peripheral>
A list of supported peripherals.
interrupts: Vec<Interrupt>
A list of supported interrupts
Trait Implementations§
Source§impl PartialOrd for Device
impl PartialOrd for Device
impl Eq for Device
impl StructuralPartialEq for Device
Auto Trait Implementations§
impl Freeze for Device
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
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