#[repr(C)]pub struct Guid { /* private fields */ }
Expand description
A globally unique identifier
GUIDs are used by UEFI to identify protocols and other objects. They are mostly like variant 2 UUIDs as specified by RFC 4122, but differ from them in that the first 3 fields are little endian instead of big endian.
The Display
formatter prints GUIDs in the canonical format defined by
RFC 4122, which is also used by UEFI.
Implementations
Trait Implementations
impl Copy for Guid
impl Eq for Guid
impl StructuralEq for Guid
impl StructuralPartialEq for Guid
Auto Trait Implementations
impl RefUnwindSafe for Guid
impl Send for Guid
impl Sync for Guid
impl Unpin for Guid
impl UnwindSafe for Guid
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