#[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
sourceimpl 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
sourceimpl Clone for VariableVendor
impl Clone for VariableVendor
sourcefn clone(&self) -> VariableVendor
fn clone(&self) -> VariableVendor
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for VariableVendor
impl Debug for VariableVendor
sourceimpl PartialEq<VariableVendor> for VariableVendor
impl PartialEq<VariableVendor> for VariableVendor
sourcefn eq(&self, other: &VariableVendor) -> bool
fn eq(&self, other: &VariableVendor) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &VariableVendor) -> bool
fn ne(&self, other: &VariableVendor) -> bool
This method tests for !=
.
impl Copy for VariableVendor
impl Eq for VariableVendor
impl StructuralEq for VariableVendor
impl StructuralPartialEq for VariableVendor
Auto Trait Implementations
impl RefUnwindSafe for VariableVendor
impl Send for VariableVendor
impl Sync for VariableVendor
impl Unpin for VariableVendor
impl UnwindSafe for VariableVendor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more