pub trait ToVariant {
// Required method
fn to_variant(&self) -> Variant;
}
Expand description
Converts to Variant
.
Required Methods§
Sourcefn to_variant(&self) -> Variant
fn to_variant(&self) -> Variant
Returns a Variant
clone of self
.