pub struct PciClass {
pub id: u8,
pub name: String,
/* private fields */
}
Fields§
§id: u8
§name: String
Implementations§
Source§impl PciClass
impl PciClass
pub fn get_subclass(&self, subclass_id: &u8) -> Result<&PciSubclass>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PciClass
impl RefUnwindSafe for PciClass
impl Send for PciClass
impl Sync for PciClass
impl Unpin for PciClass
impl UnwindSafe for PciClass
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