pub struct GUID(/* private fields */);
Expand description
A Globally Unique Identifier (GUID)
This is used to (optionally) specify type IDs for states.
It provides From<T>
implementations for various types T
from foreign crates that also represent GUIDs.
These implementations are available when the respective Cargo features are enabled:
- Feature
windows
:From<windows::core::GUID>
- Feature
winapi
:From<winapi::shared::guiddef::GUID>
- Feature
uuid
:From<uuid::Uuid>
Implementations§
Trait Implementations§
source§impl PartialEq for GUID
impl PartialEq for GUID
impl Copy for GUID
impl Eq for GUID
impl StructuralPartialEq for GUID
Auto Trait Implementations§
impl Freeze for GUID
impl RefUnwindSafe for GUID
impl Send for GUID
impl Sync for GUID
impl Unpin for GUID
impl UnwindSafe for GUID
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more