Struct windows::Guid [−][src]
#[repr(C)]pub struct Guid { /* fields omitted */ }
A globally unique identifier (GUID) used to identify COM and WinRT interfaces.
Implementations
impl Guid
[src]
impl Guid
[src]pub fn new() -> Result<Self>
[src]
Creates a unique Guid
value.
pub const fn zeroed() -> Guid
[src]
Creates a Guid
represented by the all-zero byte-pattern.
pub const fn from_values(
data1: u32,
data2: u16,
data3: u16,
data4: [u8; 8]
) -> Guid
[src]
data1: u32,
data2: u16,
data3: u16,
data4: [u8; 8]
) -> Guid
Creates a Guid
with the given constant values.
pub const fn from_signature(signature: ConstBuffer) -> Guid
[src]
Creates a Guid
for a “generic” WinRT type.
pub fn from_progid(progid: &str) -> Result<Guid>
[src]
Looks up a CLSID in the registry using the CLSIDFromProgID function.
Trait Implementations
impl RuntimeType for Guid
[src]
impl RuntimeType for Guid
[src]type DefaultType = Self
const SIGNATURE: ConstBuffer
[src]
impl StructuralEq for Guid
[src]
impl StructuralEq for Guid
[src]impl StructuralPartialEq for Guid
[src]
impl StructuralPartialEq for Guid
[src]Auto Trait Implementations
impl RefUnwindSafe for Guid
impl RefUnwindSafe for Guid
impl UnwindSafe for Guid
impl UnwindSafe for Guid