Trait OptionIntoGlib

pub trait OptionIntoGlib: IntoGlib {
    const GLIB_NONE: <Self as IntoGlib>::GlibType;
}
Expand description

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

Required Associated Constants§

const GLIB_NONE: <Self as IntoGlib>::GlibType

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§