pub trait ToVariant {
fn to_variant(&self) -> Variant;
}
Expand description
Converts to Variant
.
Required methods
fn to_variant(&self) -> Variant
fn to_variant(&self) -> Variant
Returns a Variant
clone of self
.
Implementations on Foreign Types
sourceimpl ToVariant for PathBuf
impl ToVariant for PathBuf
Portability Warning
This impl is for a platform-specific type. Any variants serialized from this type should be deserialized on the same machine.
fn to_variant(&self) -> Variant
sourceimpl ToVariant for Path
impl ToVariant for Path
Portability Warning
This impl is for a platform-specific type. Any variants serialized from this type should be deserialized on the same machine.
fn to_variant(&self) -> Variant
sourceimpl ToVariant for OsString
impl ToVariant for OsString
Portability Warning
This impl is for a platform-specific type. Any variants serialized from this type should be deserialized on the same machine.
fn to_variant(&self) -> Variant
sourceimpl ToVariant for OsStr
impl ToVariant for OsStr
Portability Warning
This impl is for a platform-specific type. Any variants serialized from this type should be deserialized on the same machine.