Enum gstreamer_video::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]
impl Typepub fn name(&self) -> String[src]
pub fn name(&self) -> Stringpub fn qname(&self) -> Quark[src]
pub fn qname(&self) -> Quarkpub fn is_a(&self, other: &Type) -> bool[src]
pub fn is_a(&self, other: &Type) -> boolpub fn parent(&self) -> Option<Type>[src]
pub fn parent(&self) -> Option<Type>pub fn children(&self) -> Vec<Type>[src]
pub fn children(&self) -> Vec<Type>pub fn interfaces(&self) -> Vec<Type>[src]
pub fn interfaces(&self) -> Vec<Type>pub fn interface_prerequisites(&self) -> Vec<Type>[src]
pub fn interface_prerequisites(&self) -> Vec<Type>pub fn from_name<'a, P>(name: P) -> Option<Type> where
P: Into<&'a str>, [src]
pub fn from_name<'a, P>(name: P) -> Option<Type> where
P: Into<&'a str>, Trait Implementations
impl Display for Type[src]
impl Display for Typefn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Clone for Type[src]
impl Clone for Typefn clone(&self) -> Type[src]
fn clone(&self) -> TypeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl SetValue for Type[src]
impl SetValue for Typeimpl<'a> FromValueOptional<'a> for Type[src]
impl<'a> FromValueOptional<'a> for Typeunsafe fn from_value_optional(value: &'a Value) -> Option<Type>[src]
unsafe fn from_value_optional(value: &'a Value) -> Option<Type>impl Eq for Type[src]
impl Eq for Typeimpl StaticType for Type[src]
impl StaticType for Typefn static_type() -> Type[src]
fn static_type() -> TypeReturns the type identifier of Self.
impl<'a> ToGlibContainerFromSlice<'a, *mut usize> for Type[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut usize> for Typetype Storage = Option<Vec<usize>>
fn to_glib_none_from_slice(
t: &'a [Type]
) -> (*mut usize, <Type as ToGlibContainerFromSlice<'a, *mut usize>>::Storage)[src]
fn to_glib_none_from_slice(
t: &'a [Type]
) -> (*mut usize, <Type as ToGlibContainerFromSlice<'a, *mut usize>>::Storage)fn to_glib_container_from_slice(
t: &'a [Type]
) -> (*mut usize, <Type as ToGlibContainerFromSlice<'a, *mut usize>>::Storage)[src]
fn to_glib_container_from_slice(
t: &'a [Type]
) -> (*mut usize, <Type as ToGlibContainerFromSlice<'a, *mut usize>>::Storage)fn to_glib_full_from_slice(t: &[Type]) -> *mut usize[src]
fn to_glib_full_from_slice(t: &[Type]) -> *mut usizeimpl FromGlibContainerAsVec<Type, *const usize> for Type[src]
impl FromGlibContainerAsVec<Type, *const usize> for Typeunsafe fn from_glib_none_num_as_vec(ptr: *const usize, num: usize) -> Vec<Type>[src]
unsafe fn from_glib_none_num_as_vec(ptr: *const usize, num: usize) -> Vec<Type>unsafe fn from_glib_container_num_as_vec(*const usize, usize) -> Vec<Type>[src]
unsafe fn from_glib_container_num_as_vec(*const usize, usize) -> Vec<Type>unsafe fn from_glib_full_num_as_vec(*const usize, usize) -> Vec<Type>[src]
unsafe fn from_glib_full_num_as_vec(*const usize, usize) -> Vec<Type>impl FromGlibContainerAsVec<Type, *mut usize> for Type[src]
impl FromGlibContainerAsVec<Type, *mut usize> for Typeunsafe fn from_glib_none_num_as_vec(ptr: *mut usize, num: usize) -> Vec<Type>[src]
unsafe fn from_glib_none_num_as_vec(ptr: *mut usize, num: usize) -> Vec<Type>unsafe fn from_glib_container_num_as_vec(
ptr: *mut usize,
num: usize
) -> Vec<Type>[src]
unsafe fn from_glib_container_num_as_vec(
ptr: *mut usize,
num: usize
) -> Vec<Type>unsafe fn from_glib_full_num_as_vec(ptr: *mut usize, num: usize) -> Vec<Type>[src]
unsafe fn from_glib_full_num_as_vec(ptr: *mut usize, num: usize) -> Vec<Type>impl PartialEq<Type> for Type[src]
impl PartialEq<Type> for Typefn eq(&self, other: &Type) -> bool[src]
fn eq(&self, other: &Type) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Type) -> bool[src]
fn ne(&self, other: &Type) -> boolThis method tests for !=.
impl FromGlib<usize> for Type[src]
impl FromGlib<usize> for Typeimpl ToGlib for Type[src]
impl ToGlib for Typeimpl Debug for Type[src]
impl Debug for Typefn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl<'a> FromValue<'a> for Type[src]
impl<'a> FromValue<'a> for Typeunsafe fn from_value(value: &'a Value) -> Type[src]
unsafe fn from_value(value: &'a Value) -> Typeimpl Copy for Type[src]
impl Copy for Type