Trait gstreamer::subclass::element::ElementImpl

source ·
pub trait ElementImpl:
    ElementImplExt
    + GstObjectImpl
    + Send
    + Sync {
    // Provided methods
    fn metadata() -> Option<&'static ElementMetadata> { ... }
    fn pad_templates() -> &'static [PadTemplate] { ... }
    fn change_state(
        &self,
        transition: StateChange,
    ) -> Result<StateChangeSuccess, StateChangeError> { ... }
    fn request_new_pad(
        &self,
        templ: &PadTemplate,
        name: Option<&str>,
        caps: Option<&Caps>,
    ) -> Option<Pad> { ... }
    fn release_pad(&self, pad: &Pad) { ... }
    fn send_event(&self, event: Event) -> bool { ... }
    fn query(&self, query: &mut QueryRef) -> bool { ... }
    fn set_context(&self, context: &Context) { ... }
    fn set_clock(&self, clock: Option<&Clock>) -> bool { ... }
    fn provide_clock(&self) -> Option<Clock> { ... }
    fn post_message(&self, msg: Message) -> bool { ... }
}

Provided Methods§

source

fn metadata() -> Option<&'static ElementMetadata>

source

fn pad_templates() -> &'static [PadTemplate]

source

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

source

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

source

fn release_pad(&self, pad: &Pad)

source

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

source

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

source

fn set_context(&self, context: &Context)

source

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

source

fn provide_clock(&self) -> Option<Clock>

source

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

Object Safety§

This trait is not object safe.

Implementors§