[−][src]Crate guid_win
Windows GUID/CLSID/IID string and binary serialization
Guid
transparently wraps
GUID
.
Implements Display
and FromStr
string conversion, also Hash
and Eq
.
Curly braces ({}
) are optional for FromStr
.
serde
Use the guid_serde
feature to derive Serialize
and Deserialize
, you can then
derive them for structs containing GUID
like so:
use guid_win::GUIDSerde; use serde_derive::{Deserialize, Serialize}; use winapi::shared::guiddef::GUID; #[derive(Serialize, Deserialize)] struct SerdeTest { #[serde(with = "GUIDSerde")] guid: GUID, }
Structs
Guid | Wraps |