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
Portability Warning
This impl is for a platform-specific type. Any variants serialized from this type should be deserialized on the same machine.
Portability Warning
This impl is for a platform-specific type. Any variants serialized from this type should be deserialized on the same machine.
Portability Warning
This impl is for a platform-specific type. Any variants serialized from this type should be deserialized on the same machine.
Portability Warning
This impl is for a platform-specific type. Any variants serialized from this type should be deserialized on the same machine.