Struct wasapi::Guid [−]
#[repr(C)]pub struct Guid { /* fields omitted */ }
Expand description
A globally unique identifier (GUID) used to identify COM and WinRT interfaces.
Implementations
impl Guid
impl GuidCreates a Guid with the given constant values.
pub const fn from_signature(signature: ConstBuffer) -> Guid
pub const fn from_signature(signature: ConstBuffer) -> GuidCreates a Guid for a “generic” WinRT type.
pub fn from_progid(progid: &str) -> Result<Guid, Error>
pub fn from_progid(progid: &str) -> Result<Guid, Error>Looks up a CLSID in the registry using the CLSIDFromProgID function.
Trait Implementations
impl Abi for Guid
impl Abi for Guidfn abi(&self) -> Self::Abi
fn abi(&self) -> Self::AbiCasts the Rust object to its ABI type without copying the object.
Returns a pointer for setting the object’s value via an ABI call.
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(&mut Param<'_, Self>)impl RuntimeType for Guid
impl RuntimeType for Guidtype DefaultType = Guidpub const SIGNATURE: ConstBufferimpl StructuralEq for Guidimpl StructuralPartialEq for GuidAuto Trait Implementations
impl RefUnwindSafe for Guidimpl UnwindSafe for GuidBlanket Implementations
Mutably borrows from an owned value. Read more
pub fn into_param(self) -> Param<'a, T>