#[repr(C)]pub struct GUID {
pub data1: u32,
pub data2: u16,
pub data3: u16,
pub data4: [u8; 8],
}
Expand description
A globally unique identifier
Fields§
§data1: u32
§data2: u16
§data3: u16
§data4: [u8; 8]
Trait Implementations§
Source§impl AbiTransferable for GUID
impl AbiTransferable for GUID
Source§fn from_abi(abi: Self::Abi) -> Self
fn from_abi(abi: Self::Abi) -> Self
Convert into a reference to Self from a reference to the ABI
Source§unsafe fn slice_from_abi<'a>(abi: *const Self::Abi, len: usize) -> &'a [Self]
unsafe fn slice_from_abi<'a>(abi: *const Self::Abi, len: usize) -> &'a [Self]
Convert a pointer to a
Self::Abi
and and a length to a slice. Read moreimpl Copy 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