#[repr(transparent)]pub struct VariableVendor(pub Guid);
Expand description
Variable vendor GUID. This serves as a namespace for variables to avoid naming conflicts between vendors. The UEFI specification defines some special values, and vendors will define their own.
Tuple Fields§
§0: Guid
Implementations§
source§impl VariableVendor
impl VariableVendor
sourcepub const GLOBAL_VARIABLE: VariableVendor = _
pub const GLOBAL_VARIABLE: VariableVendor = _
Used to access global variables.
sourcepub const IMAGE_SECURITY_DATABASE: VariableVendor = _
pub const IMAGE_SECURITY_DATABASE: VariableVendor = _
Used to access EFI signature database variables.
Trait Implementations§
source§impl Clone for VariableVendor
impl Clone for VariableVendor
source§fn clone(&self) -> VariableVendor
fn clone(&self) -> VariableVendor
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VariableVendor
impl Debug for VariableVendor
source§impl Hash for VariableVendor
impl Hash for VariableVendor
source§impl Ord for VariableVendor
impl Ord for VariableVendor
source§fn cmp(&self, other: &VariableVendor) -> Ordering
fn cmp(&self, other: &VariableVendor) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for VariableVendor
impl PartialEq for VariableVendor
source§impl PartialOrd for VariableVendor
impl PartialOrd for VariableVendor
impl Copy for VariableVendor
impl Eq for VariableVendor
impl StructuralPartialEq for VariableVendor
Auto Trait Implementations§
impl Freeze for VariableVendor
impl RefUnwindSafe for VariableVendor
impl Send for VariableVendor
impl Sync for VariableVendor
impl Unpin for VariableVendor
impl UnwindSafe for VariableVendor
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)