Trait glib::types::StaticType
source · pub trait StaticType {
// Required method
fn static_type() -> Type;
}
Expand description
Types that are supported by GLib dynamic typing.
Required Methods§
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
Implementations on Foreign Types§
source§impl StaticType for bool
impl StaticType for bool
fn static_type() -> Type
source§impl StaticType for str
impl StaticType for str
fn static_type() -> Type
source§impl<'a> StaticType for [&'a str]
impl<'a> StaticType for [&'a str]
fn static_type() -> Type
source§impl<'a, T: ?Sized + StaticType> StaticType for &'a mut T
impl<'a, T: ?Sized + StaticType> StaticType for &'a mut T
fn static_type() -> Type
source§impl StaticType for Vec<String>
impl StaticType for Vec<String>
fn static_type() -> Type
source§impl StaticType for f32
impl StaticType for f32
fn static_type() -> Type
source§impl StaticType for u8
impl StaticType for u8
fn static_type() -> Type
source§impl StaticType for Vec<GString>
impl StaticType for Vec<GString>
fn static_type() -> Type
source§impl StaticType for i32
impl StaticType for i32
fn static_type() -> Type
source§impl StaticType for i8
impl StaticType for i8
fn static_type() -> Type
source§impl<'a, T: ?Sized + StaticType> StaticType for &'a T
impl<'a, T: ?Sized + StaticType> StaticType for &'a T
fn static_type() -> Type
source§impl<T: ToValueOptional + StaticType> StaticType for Option<T>
impl<T: ToValueOptional + StaticType> StaticType for Option<T>
fn static_type() -> Type
source§impl StaticType for String
impl StaticType for String
fn static_type() -> Type
source§impl StaticType for NonNull<Pointee>
impl StaticType for NonNull<Pointee>
fn static_type() -> Type
source§impl StaticType for u64
impl StaticType for u64
fn static_type() -> Type
source§impl StaticType for f64
impl StaticType for f64
fn static_type() -> Type
source§impl StaticType for u32
impl StaticType for u32
fn static_type() -> Type
source§impl StaticType for i64
impl StaticType for i64
fn static_type() -> Type
source§impl StaticType for ()
impl StaticType for ()
fn static_type() -> Type
Implementors§
impl StaticType for Closure
impl StaticType for Error
impl StaticType for InitiallyUnowned
impl StaticType for Object
impl StaticType for Binding
impl StaticType for BindingFlags
impl StaticType for BindingGroup
Available on crate feature
v2_72
only.impl StaticType for BoxedAnyObject
impl StaticType for ByteArray
impl StaticType for Bytes
impl StaticType for Checksum
impl StaticType for Date
impl StaticType for DateTime
impl StaticType for GStr
impl StaticType for GString
impl StaticType for GStringBuilder
impl StaticType for IOCondition
impl StaticType for KeyFile
impl StaticType for MainContext
impl StaticType for MainLoop
impl StaticType for MarkupParseContext
impl StaticType for ParamSpec
impl StaticType for ParamSpecBoolean
impl StaticType for ParamSpecBoxed
impl StaticType for ParamSpecChar
impl StaticType for ParamSpecDouble
impl StaticType for ParamSpecEnum
impl StaticType for ParamSpecFlags
impl StaticType for ParamSpecFloat
impl StaticType for ParamSpecGType
impl StaticType for ParamSpecInt64
impl StaticType for ParamSpecInt
impl StaticType for ParamSpecLong
impl StaticType for ParamSpecObject
impl StaticType for ParamSpecOverride
impl StaticType for ParamSpecParam
impl StaticType for ParamSpecPointer
impl StaticType for ParamSpecString
impl StaticType for ParamSpecUChar
impl StaticType for ParamSpecUInt64
impl StaticType for ParamSpecUInt
impl StaticType for ParamSpecULong
impl StaticType for ParamSpecUnichar
impl StaticType for ParamSpecValueArray
impl StaticType for ParamSpecVariant
impl StaticType for SignalGroup
Available on crate feature
v2_74
only.impl StaticType for Source
impl StaticType for TimeZone
impl StaticType for Uri
Available on crate feature
v2_66
only.