Trait glib::value::ToValueOptional
source · pub trait ToValueOptional {
// Required method
fn to_value_optional(s: Option<&Self>) -> Value;
}Expand description
Trait to convert an Option to a Value for optional types.
Required Methods§
sourcefn to_value_optional(s: Option<&Self>) -> Value
fn to_value_optional(s: Option<&Self>) -> Value
Convert an Option to a Value.
Object Safety§
This trait is not object safe.