Trait glib::types::StaticType
[−]
[src]
pub trait StaticType { fn static_type() -> Type; }
Types that are supported by GLib dynamic typing.
Required Methods
fn static_type() -> Type
Returns the type identifier of Self
.
Implementors
impl StaticType for Object
impl<'a, T: ?Sized + StaticType> StaticType for &'a T
impl StaticType for bool
impl StaticType for i8
impl StaticType for u8
impl StaticType for i32
impl StaticType for u32
impl StaticType for i64
impl StaticType for u64
impl StaticType for f32
impl StaticType for f64
impl StaticType for str
impl StaticType for String