pub struct RootData<'a> {
pub vendor_id: u32,
pub vendor_name: &'a str,
pub product_id: u32,
pub product_name: &'a str,
}
Expand description
Data in root directory block of Configuration ROM.
Fields§
§vendor_id: u32
The numeric identifier of vendor, usually Organizationally Unique Identifier (OUI) registered in IEEE.
vendor_name: &'a str
The name of vendor.
product_id: u32
The numeric identifier of product.
product_name: &'a str
The name of product.
Trait Implementations§
impl<'a> Copy for RootData<'a>
Auto Trait Implementations§
impl<'a> Freeze for RootData<'a>
impl<'a> RefUnwindSafe for RootData<'a>
impl<'a> Send for RootData<'a>
impl<'a> Sync for RootData<'a>
impl<'a> Unpin for RootData<'a>
impl<'a> UnwindSafe for RootData<'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