Struct axdriver::AllDevices 
source · pub struct AllDevices {
    pub net: AxDeviceContainer<AxNetDevice>,
    pub block: AxDeviceContainer<AxBlockDevice>,
    pub display: AxDeviceContainer<AxDisplayDevice>,
}Expand description
A structure that contains all device drivers, organized by their category.
Fields§
§net: AxDeviceContainer<AxNetDevice>Available on crate feature 
net only.All network device drivers.
block: AxDeviceContainer<AxBlockDevice>Available on crate feature 
block only.All block device drivers.
display: AxDeviceContainer<AxDisplayDevice>Available on crate feature 
display only.All graphics device drivers.
Implementations§
source§impl AllDevices
 
impl AllDevices
sourcepub const fn device_model() -> &'static str
 
pub const fn device_model() -> &'static str
Returns the device model used, either dyn or static.
See the crate-level documentation for more details.
Trait Implementations§
source§impl Default for AllDevices
 
impl Default for AllDevices
source§fn default() -> AllDevices
 
fn default() -> AllDevices
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AllDevices
impl !RefUnwindSafe for AllDevices
impl Send for AllDevices
impl Sync for AllDevices
impl Unpin for AllDevices
impl !UnwindSafe for AllDevices
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