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
.