pub struct Device<'a> {
pub device: &'a PciDevice,
pub class: Option<String>,
pub name: Option<String>,
pub cfg: Ref<&'a [u8], Type00Config>,
pub args: &'a Args,
}
Fields§
§device: &'a PciDevice
§class: Option<String>
§name: Option<String>
§cfg: Ref<&'a [u8], Type00Config>
§args: &'a Args
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Device<'a>
impl<'a> RefUnwindSafe for Device<'a>
impl<'a> Send for Device<'a>
impl<'a> Sync for Device<'a>
impl<'a> Unpin for Device<'a>
impl<'a> UnwindSafe for Device<'a>
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