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.

Implementations on Foreign Types§

source§

impl StaticType for bool

source§

impl StaticType for str

source§

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

source§

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

source§

impl StaticType for Vec<String>

source§

impl StaticType for f32

source§

impl StaticType for u8

source§

impl StaticType for Vec<GString>

source§

impl StaticType for i32

source§

impl StaticType for i8

source§

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

source§

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

source§

impl StaticType for String

source§

impl StaticType for NonNull<Pointee>

source§

impl StaticType for u64

source§

impl StaticType for f64

source§

impl StaticType for u32

source§

impl StaticType for i64

source§

impl StaticType for ()

Implementors§

source§

impl StaticType for Closure

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 SignalGroup

Available on crate feature v2_74 only.
source§

impl StaticType for Source

source§

impl StaticType for TimeZone

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

impl StaticType for RGBA

impl StaticType for Seat

impl StaticType for Drop

impl StaticType for GLAPI

impl StaticType for Event

impl StaticType for Key

impl StaticType for Popup

impl StaticType for Drag

impl StaticType for Mount

impl StaticType for Icon

impl StaticType for Proxy

impl StaticType for Vfs

impl<V: ValueType + Send> StaticType for Task<V>

impl StaticType for Menu

impl StaticType for Drive

impl StaticType for File

impl StaticType for Ray

impl StaticType for Vec4

impl StaticType for Box

impl StaticType for Point

impl StaticType for Rect

impl StaticType for Quad

impl StaticType for Vec3

impl StaticType for Plane

impl StaticType for Euler

impl StaticType for Size

impl StaticType for Vec2

impl StaticType for Box

impl StaticType for Video

impl StaticType for Align

impl StaticType for Text

impl StaticType for Entry

impl StaticType for Root

impl StaticType for Stack

impl StaticType for Scale

impl StaticType for Frame

impl StaticType for Unit

impl StaticType for Paned

impl StaticType for Grid

impl StaticType for Label

impl StaticType for Image

impl StaticType for Fixed

impl StaticType for Range

impl StaticType for Flap

impl StaticType for Bin

impl StaticType for Toast

impl StaticType for Clamp

impl StaticType for Paned

impl StaticType for Area

impl StaticType for Grid

impl StaticType for Frame

impl StaticType for Dock

impl<'text> StaticType for ScriptIter<'text>

impl<'list> StaticType for AttrIterator<'list>

impl StaticType for Item

impl StaticType for Style

impl<'item> StaticType for GlyphItemIter<'item>

impl StaticType for Color

impl StaticType for Font