[go: up one dir, main page]

Trait glib::translate::FromGlib

source ·
pub trait FromGlib<T>: Sized {
    // Required method
    fn from_glib(val: T) -> Self;
}
Expand description

Translate a simple type.

Required Methods§

source

fn from_glib(val: T) -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FromGlib<i32> for Option<u32>

source§

impl FromGlib<i32> for Option<u64>

source§

impl FromGlib<i32> for bool

source§

impl FromGlib<i64> for Option<u64>

Implementors§