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 Guid
Creates a Guid
with the given constant values.
pub const fn from_signature(signature: ConstBuffer) -> Guid
pub const fn from_signature(signature: ConstBuffer) -> Guid
Creates 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 Guid
fn abi(&self) -> Self::Abi
fn abi(&self) -> Self::Abi
Casts 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 Guid
type DefaultType = Guid
pub const SIGNATURE: ConstBuffer
impl StructuralEq for Guid
impl StructuralPartialEq for Guid
Auto Trait Implementations
impl RefUnwindSafe for Guid
impl UnwindSafe for Guid
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn into_param(self) -> Param<'a, T>