Struct intercom::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

Methods

impl GUID
[src]

[src]

[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

Trait Implementations

impl Eq for GUID
[src]

impl PartialEq for GUID
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Debug for GUID
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for GUID
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for GUID
[src]

[src]

Returns the "default value" for a type. Read more

impl Display for GUID
[src]

[src]

Formats the GUID in brace-hyphenated format for display.

impl UpperHex for GUID
[src]

[src]

Formats the GUID in brace-hyphenated format for display.

Auto Trait Implementations

impl Send for GUID

impl Sync for GUID