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
InvalidAn invalid Type used as error return value in some functions
UnitThe fundamental type corresponding to the unit type ()
I8The fundamental type corresponding to i8
U8The fundamental type corresponding to u8
BoolThe fundamental type corresponding to bool
I32The fundamental type corresponding to i32
U32The fundamental type corresponding to u32
ILongThe fundamental type corresponding to C long
ULongThe fundamental type corresponding to C unsigned long
I64The fundamental type corresponding to i64
U64The fundamental type corresponding to u64
F32The fundamental type corresponding to f32
F64The fundamental type corresponding to f64
StringThe fundamental type corresponding to String
PointerThe fundamental type corresponding to a pointer
VariantThe fundamental type of GVariant
BaseInterfaceThe fundamental type from which all interfaces are derived
BaseEnumThe fundamental type from which all enumeration types are derived
BaseFlagsThe fundamental type from which all flags types are derived
BaseBoxedThe fundamental type from which all boxed types are derived
BaseParamSpecThe fundamental type from which all GParamSpec types are derived
BaseObjectThe fundamental type from which all objects are derived
Other(usize)A non-fundamental type identified by value of type usize
Methods
impl Type[src]
Trait Implementations
impl Clone for Type[src]
fn clone(&self) -> Type[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for Type[src]
impl PartialEq for Type[src]
fn eq(&self, __arg_0: &Type) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Type) -> bool[src]
This method tests for !=.
impl Eq for Type[src]
impl Debug for Type[src]
fn fmt(&self, f: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Display for Type[src]
fn fmt(&self, f: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more