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

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

A GLib or GLib-based library type

Variants

An invalid Type used as error return value in some functions

The fundamental type corresponding to the unit type ()

The fundamental type corresponding to i8

The fundamental type corresponding to u8

The fundamental type corresponding to bool

The fundamental type corresponding to i32

The fundamental type corresponding to u32

The fundamental type corresponding to C long

The fundamental type corresponding to C unsigned long

The fundamental type corresponding to i64

The fundamental type corresponding to u64

The fundamental type corresponding to f32

The fundamental type corresponding to f64

The fundamental type corresponding to String

The fundamental type corresponding to a pointer

The fundamental type of GVariant

The fundamental type from which all interfaces are derived

The fundamental type from which all enumeration types are derived

The fundamental type from which all flags types are derived

The fundamental type from which all boxed types are derived

The fundamental type from which all GParamSpec types are derived

The fundamental type from which all objects are derived

A non-fundamental type identified by value of type usize

Methods

impl Type
[src]

[src]

Trait Implementations

impl Clone for Type
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Type
[src]

impl PartialEq for Type
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Type
[src]

impl Debug for Type
[src]

[src]

Formats the value using the given formatter.

impl Display for Type
[src]

[src]

Formats the value using the given formatter. Read more

impl FromGlib<GType> for Type
[src]

[src]

impl ToGlib for Type
[src]

[src]