Struct windows::Guid [−][src]
#[repr(C)]pub struct Guid { /* fields omitted */ }
Expand description
A globally unique identifier (GUID) used to identify COM and WinRT interfaces.
Implementations
impl Guid
[src]
impl Guid
[src]pub const fn from_values(
data1: u32,
data2: u16,
data3: u16,
data4: [u8; 8]
) -> Guid
[src]
pub const fn from_values(
data1: u32,
data2: u16,
data3: u16,
data4: [u8; 8]
) -> Guid
[src]Creates a Guid
with the given constant values.
pub const fn from_signature(signature: ConstBuffer) -> Guid
[src]
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]
pub fn from_progid(progid: &str) -> Result<Guid>
[src]Looks up a CLSID in the registry using the CLSIDFromProgID function.
Trait Implementations
impl Abi for Guid
[src]
impl Abi for Guid
[src]impl RuntimeType for Guid
[src]
impl RuntimeType for Guid
[src]impl Copy for Guid
[src]
impl Eq for Guid
[src]
impl StructuralEq for Guid
[src]
impl StructuralPartialEq for Guid
[src]
Auto Trait Implementations
impl RefUnwindSafe for Guid
impl Send for Guid
impl Sync for Guid
impl Unpin for Guid
impl UnwindSafe for Guid
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more