Trait glib::variant::FromVariant [−][src]
Extracts a value.
Required methods
fn from_variant(variant: &Variant) -> Option<Self>
[src]
Tries to extract a value.
Returns Some
if the variant’s type matches Self
.