Struct intercom_common::guid::GUID
[−]
[src]
#[repr(C)]pub struct GUID { pub data1: u32, pub data2: u16, pub data3: u16, pub data4: [u8; 8], }
Binary GUID format as defined for the COM interfaces.
Fields
data1: u32
data2: u16
data3: u16
data4: [u8; 8]
Methods
impl GUID[src]
fn zero_guid() -> GUID[src]
fn parse(guid: &str) -> Result<GUID, String>[src]
Parses the given string as a GUID.
Supported formats include: - Braces and hyphens: {00000000-0000-0000-0000-000000000000} - Hyphens only: 00000000-0000-0000-0000-000000000000 - Raw hexadecimal: 00000000000000000000000000000000
fn as_bytes(&self) -> &[u8; 16][src]
Trait Implementations
impl Eq for GUID[src]
impl PartialEq for GUID[src]
fn eq(&self, __arg_0: &GUID) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &GUID) -> bool[src]
This method tests for !=.
impl Debug for GUID[src]
impl Clone for GUID[src]
fn clone(&self) -> GUID[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Display for GUID[src]
fn fmt(&self, f: &mut Formatter) -> Result[src]
Formats the GUID in brace-hyphenated format for display.