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§

source

fn static_type() -> Type

Returns the type identifier of Self.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl StaticType for bool

source§

impl StaticType for f32

source§

impl StaticType for f64

source§

impl StaticType for i8

source§

impl StaticType for i32

source§

impl StaticType for i64

source§

impl StaticType for str

source§

impl StaticType for u8

source§

impl StaticType for u32

source§

impl StaticType for u64

source§

impl StaticType for ()

source§

impl StaticType for Box<str>

source§

impl StaticType for String

source§

impl StaticType for Vec<GString>

source§

impl StaticType for Vec<String>

source§

impl StaticType for NonNull<Pointee>

source§

impl StaticType for Path

source§

impl StaticType for PathBuf

source§

impl StaticType for NonZeroI8

source§

impl StaticType for NonZeroI32

source§

impl StaticType for NonZeroI64

source§

impl StaticType for NonZeroU8

source§

impl StaticType for NonZeroU32

source§

impl StaticType for NonZeroU64

source§

impl<'a> StaticType for &'a [GStringPtr]

source§

impl<'a> StaticType for [&'a str]

source§

impl<'a, T: ?Sized + StaticType> StaticType for &'a T

source§

impl<'a, T: ?Sized + StaticType> StaticType for &'a mut T

source§

impl<T: ToValueOptional + StaticType> StaticType for Option<T>

Implementors§

source§

impl StaticType for NormalizeMode

source§

impl StaticType for UnicodeBreakType

source§

impl StaticType for UnicodeScript

source§

impl StaticType for UnicodeType

source§

impl StaticType for Closure

source§

impl StaticType for StrV

source§

impl StaticType for Error

source§

impl StaticType for InitiallyUnowned

source§

impl StaticType for Object

source§

impl StaticType for Binding

source§

impl StaticType for BindingFlags

source§

impl StaticType for BindingGroup

Available on crate feature v2_72 only.
source§

impl StaticType for BoxedAnyObject

source§

impl StaticType for ByteArray

source§

impl StaticType for Bytes

source§

impl StaticType for Checksum

source§

impl StaticType for Date

source§

impl StaticType for DateTime

source§

impl StaticType for GStr

source§

impl StaticType for GString

source§

impl StaticType for GStringBuilder

source§

impl StaticType for IOCondition

source§

impl StaticType for KeyFile

source§

impl StaticType for MainContext

source§

impl StaticType for MainLoop

source§

impl StaticType for MarkupParseContext

source§

impl StaticType for ParamSpec

source§

impl StaticType for ParamSpecBoolean

source§

impl StaticType for ParamSpecBoxed

source§

impl StaticType for ParamSpecChar

source§

impl StaticType for ParamSpecDouble

source§

impl StaticType for ParamSpecEnum

source§

impl StaticType for ParamSpecFlags

source§

impl StaticType for ParamSpecFloat

source§

impl StaticType for ParamSpecGType

source§

impl StaticType for ParamSpecInt64

source§

impl StaticType for ParamSpecInt

source§

impl StaticType for ParamSpecLong

source§

impl StaticType for ParamSpecObject

source§

impl StaticType for ParamSpecOverride

source§

impl StaticType for ParamSpecParam

source§

impl StaticType for ParamSpecPointer

source§

impl StaticType for ParamSpecString

source§

impl StaticType for ParamSpecUChar

source§

impl StaticType for ParamSpecUInt64

source§

impl StaticType for ParamSpecUInt

source§

impl StaticType for ParamSpecULong

source§

impl StaticType for ParamSpecUnichar

source§

impl StaticType for ParamSpecValueArray

source§

impl StaticType for ParamSpecVariant

source§

impl StaticType for Regex

source§

impl StaticType for SignalGroup

Available on crate feature v2_74 only.
source§

impl StaticType for Source

source§

impl StaticType for TimeZone

source§

impl StaticType for TypeModule

source§

impl StaticType for TypePlugin

source§

impl StaticType for Uri

Available on crate feature v2_66 only.
source§

impl StaticType for ValueArray

source§

impl StaticType for VariantDict

source§

impl StaticType for VariantTy

source§

impl StaticType for VariantType

source§

impl StaticType for BoxedValue

source§

impl StaticType for Variant

source§

impl StaticType for ILong

source§

impl StaticType for Type

source§

impl StaticType for ULong

source§

impl StaticType for Pointer

source§

impl<'input> StaticType for MatchInfo<'input>