Trait glib::value::ValueTypeOptional

source ·
pub trait ValueTypeOptional:
    ValueType
    + ToValueOptional
    + FromValueOptional<'static>
    + StaticType { }
Expand description

A type that can be stored in Values and is optional.

These are types were storing an Option is valid. Examples are String and all object types.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ValueTypeOptional for Box<str>

source§

impl ValueTypeOptional for String

source§

impl ValueTypeOptional for PathBuf

Implementors§