glib::translate

Trait OptionIntoGlib

Source
pub trait OptionIntoGlib: IntoGlib {
    const GLIB_NONE: Self::GlibType;
}
Expand description

A Rust type T for which Option<T> translates to the same glib type as T.

Required Associated Constants§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§