[go: up one dir, main page]

Trait glib::translate::ToGlib

source ·
pub trait ToGlib {
    type GlibType;

    // Required method
    fn to_glib(&self) -> Self::GlibType;
}
Expand description

Translate a simple type.

Required Associated Types§

Required Methods§

source

fn to_glib(&self) -> Self::GlibType

Implementations on Foreign Types§

source§

impl ToGlib for bool

source§

impl ToGlib for ()

§

type GlibType = ()

source§

fn to_glib(&self)

Implementors§