[][src]Trait gstreamer::subclass::prelude::ElementImpl

pub trait ElementImpl: ElementImplExt + ObjectImpl + Send + Sync + 'static {
    fn change_state(
        &self,
        element: &Element,
        transition: StateChange
    ) -> Result<StateChangeSuccess, StateChangeError> { ... }
fn request_new_pad(
        &self,
        element: &Element,
        templ: &PadTemplate,
        name: Option<String>,
        caps: Option<&Caps>
    ) -> Option<Pad> { ... }
fn release_pad(&self, element: &Element, pad: &Pad) { ... }
fn send_event(&self, element: &Element, event: Event) -> bool { ... }
fn query(&self, element: &Element, query: &mut QueryRef) -> bool { ... }
fn set_context(&self, element: &Element, context: &Context) { ... }
fn set_clock(&self, element: &Element, clock: Option<&Clock>) -> bool { ... }
fn provide_clock(&self, element: &Element) -> Option<Clock> { ... }
fn post_message(&self, element: &Element, msg: Message) -> bool { ... } }

Provided methods

fn change_state(
    &self,
    element: &Element,
    transition: StateChange
) -> Result<StateChangeSuccess, StateChangeError>

fn request_new_pad(
    &self,
    element: &Element,
    templ: &PadTemplate,
    name: Option<String>,
    caps: Option<&Caps>
) -> Option<Pad>

fn release_pad(&self, element: &Element, pad: &Pad)

fn send_event(&self, element: &Element, event: Event) -> bool

fn query(&self, element: &Element, query: &mut QueryRef) -> bool

fn set_context(&self, element: &Element, context: &Context)

fn set_clock(&self, element: &Element, clock: Option<&Clock>) -> bool

fn provide_clock(&self, element: &Element) -> Option<Clock>

fn post_message(&self, element: &Element, msg: Message) -> bool

Loading content...

Implementors

Loading content...