Struct gst_plugin::object::ClassStruct
[−]
[src]
#[repr(C)]pub struct ClassStruct<T: ObjectType> { pub parent: T::GlibClassType, pub imp_static: *const Box<ImplTypeStatic<T>>, pub parent_class: *const T::GlibClassType, pub interfaces_static: *const Vec<(GType, gpointer)>, }
Fields
parent: T::GlibClassType
imp_static: *const Box<ImplTypeStatic<T>>
parent_class: *const T::GlibClassType
interfaces_static: *const Vec<(GType, gpointer)>
Methods
impl<T: ObjectType> ClassStruct<T>
[src]
unsafe fn get_parent_class(&self) -> *const T::GlibClassType
[src]
impl<T: ObjectType> ClassStruct<T>
[src]
fn get_interface_static(&self, type_: GType) -> gpointer
[src]
Trait Implementations
impl<T: ObjectType> ObjectClass for ClassStruct<T>
[src]
fn install_properties(&mut self, properties: &[Property])
[src]
fn add_signal(&mut self, name: &str, arg_types: &[Type], ret_type: Type)
[src]
fn add_signal_with_accumulator<F>(
&mut self,
name: &str,
arg_types: &[Type],
ret_type: Type,
accumulator: F
) where
F: Fn(&mut Value, &Value) -> bool + Send + Sync + 'static,
[src]
&mut self,
name: &str,
arg_types: &[Type],
ret_type: Type,
accumulator: F
) where
F: Fn(&mut Value, &Value) -> bool + Send + Sync + 'static,
fn add_action_signal<F>(
&mut self,
name: &str,
arg_types: &[Type],
ret_type: Type,
handler: F
) where
F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,
[src]
&mut self,
name: &str,
arg_types: &[Type],
ret_type: Type,
handler: F
) where
F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,