Enum glib::types::Type [] [src]

pub enum Type {
    Invalid,
    Unit,
    I8,
    U8,
    Bool,
    I32,
    U32,
    ISize,
    USize,
    I64,
    U64,
    F32,
    F64,
    String,
    Pointer,
    Variant,
    BaseInterface,
    BaseEnum,
    BaseFlags,
    BaseBoxed,
    BaseParamSpec,
    BaseObject,
    Other(usize),
}

A GLib or GLib-based library type

Variants

Invalid

An invalid Type used as error return value in some functions

Unit

The fundamental type corresponding to the unit type ()

I8

The fundamental type corresponding to i8

U8

The fundamental type corresponding to u8

Bool

The fundamental type corresponding to bool

I32

The fundamental type corresponding to i32

U32

The fundamental type corresponding to u32

ISize

The fundamental type corresponding to isize

USize

The fundamental type corresponding to usize

I64

The fundamental type corresponding to i64

U64

The fundamental type corresponding to u64

F32

The fundamental type corresponding to f32

F64

The fundamental type corresponding to f64

String

The fundamental type corresponding to String

Pointer

The fundamental type corresponding to a pointer

Variant

The fundamental type of GVariant

BaseInterface

The fundamental type from which all interfaces are derived

BaseEnum

The fundamental type from which all enumeration types are derived

BaseFlags

The fundamental type from which all flags types are derived

BaseBoxed

The fundamental type from which all boxed types are derived

BaseParamSpec

The fundamental type from which all GParamSpec types are derived

BaseObject

The fundamental type from which all objects are derived

Other

A non-fundamental type identified by value of type usize

Trait Implementations

impl ValuePublic for Type

fn get(gvalue: &Value) -> Type

fn set(&self, gvalue: &mut Value)

impl FromGlib<GType> for Type

fn from_glib(val: GType) -> Type

impl ToGlib for Type

type GlibType = GType

fn to_glib(&self) -> GType

Derived Implementations

impl Eq for Type

impl PartialEq for Type

fn eq(&self, __arg_0: &Type) -> bool

fn ne(&self, __arg_0: &Type) -> bool

impl Debug for Type

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Copy for Type

impl Clone for Type

fn clone(&self) -> Type

fn clone_from(&mut self, source: &Self)