Trait gst_plugin::element::ElementBase [−][src]
pub unsafe trait ElementBase: IsA<Element> + ObjectType where
Self::InstanceStructType: PanicPoison, { fn parent_change_state(&self, transition: StateChange) -> StateChangeReturn { ... } fn parent_send_event(&self, event: Event) -> bool { ... } fn parent_query(&self, query: &mut QueryRef) -> bool { ... } fn parent_set_context(&self, context: &Context) { ... } fn catch_panic<T, F: FnOnce(&Self) -> T, G: FnOnce() -> T>(
&self,
fallback: G,
f: F
) -> T { ... } }
Provided Methods
fn parent_change_state(&self, transition: StateChange) -> StateChangeReturn
fn parent_send_event(&self, event: Event) -> bool
fn parent_query(&self, query: &mut QueryRef) -> bool
fn parent_set_context(&self, context: &Context)
fn catch_panic<T, F: FnOnce(&Self) -> T, G: FnOnce() -> T>(
&self,
fallback: G,
f: F
) -> T
&self,
fallback: G,
f: F
) -> T
Implementors
impl<T: IsA<Element> + ObjectType> ElementBase for T where
Self::InstanceStructType: PanicPoison,