#[repr(C)]pub struct Guid {
pub data1: u32,
pub data2: u16,
pub data3: u16,
pub data4: [u8; 8],
}Expand description
Represents a 128-bit globally unique identifier (GUID).
Fields§
§data1: u32First 32 bits of the GUID.
data2: u16Next 16 bits of the GUID.
data3: u16Next 16 bits of the GUID.
data4: [u8; 8]Final 64 bits of the GUID as bytes.
Implementations§
Trait Implementations§
impl Copy for Guid
impl Eq for Guid
impl StructuralPartialEq for Guid
Auto Trait Implementations§
impl Freeze for Guid
impl RefUnwindSafe for Guid
impl Send for Guid
impl Sync for Guid
impl Unpin for Guid
impl UnwindSafe for Guid
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