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]

Important traits for Vec<u8>

Important traits for Vec<u8>

Important traits for Vec<u8>

Trait Implementations

impl Clone for Type
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Type
[src]

impl PartialEq for Type
[src]

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

This method tests for !=.

impl Eq for Type
[src]

impl Debug for Type
[src]

Formats the value using the given formatter. Read more

impl Display for Type
[src]

Formats the value using the given formatter. Read more

impl StaticType for Type
[src]

Returns the type identifier of Self.

impl<'a> FromValueOptional<'a> for Type
[src]

impl<'a> FromValue<'a> for Type
[src]

impl SetValue for Type
[src]

impl FromGlib<GType> for Type
[src]

impl ToGlib for Type
[src]

impl<'a> ToGlibContainerFromSlice<'a, *mut GType> for Type
[src]

impl FromGlibContainerAsVec<Type, *const GType> for Type
[src]

Important traits for Vec<u8>

Important traits for Vec<u8>

Important traits for Vec<u8>

impl FromGlibContainerAsVec<Type, *mut GType> for Type
[src]

Important traits for Vec<u8>

Important traits for Vec<u8>

Important traits for Vec<u8>

Auto Trait Implementations

impl Send for Type

impl Sync for Type