pub struct VendorId<'a> {
pub array: &'a [u8; 4],
}
Expand description
§Vendor Id
Specified as four ASCII characters, as defined by TCG Vendor ID (see CAP_VID in TCG Vendor ID Registry)
Fields§
§array: &'a [u8; 4]
Raw array
Example: Vendor Id string of “ABC” = (41 42 43 00)
Trait Implementations§
impl<'a> Eq for VendorId<'a>
impl<'a> StructuralPartialEq for VendorId<'a>
Auto Trait Implementations§
impl<'a> Freeze for VendorId<'a>
impl<'a> RefUnwindSafe for VendorId<'a>
impl<'a> Send for VendorId<'a>
impl<'a> Sync for VendorId<'a>
impl<'a> Unpin for VendorId<'a>
impl<'a> UnwindSafe for VendorId<'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