BaseSrcBase

Trait BaseSrcBase 

Source
pub unsafe trait BaseSrcBase:
    IsA<Element>
    + IsA<BaseSrc>
    + ObjectType {
    // Provided methods
    fn parent_create(
        &self,
        offset: u64,
        length: u32,
    ) -> Result<Buffer, FlowReturn> { ... }
    fn parent_do_seek(&self, segment: &mut Segment) -> bool { ... }
    fn parent_query(&self, query: &mut QueryRef) -> bool { ... }
    fn parent_event(&self, event: &Event) -> bool { ... }
    fn parent_get_caps(&self, filter: Option<&CapsRef>) -> Option<Caps> { ... }
    fn parent_negotiate(&self) -> bool { ... }
    fn parent_set_caps(&self, caps: &CapsRef) -> bool { ... }
    fn parent_fixate(&self, caps: Caps) -> Caps { ... }
}

Provided Methods§

Source

fn parent_create(&self, offset: u64, length: u32) -> Result<Buffer, FlowReturn>

Source

fn parent_do_seek(&self, segment: &mut Segment) -> bool

Source

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

Source

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

Source

fn parent_get_caps(&self, filter: Option<&CapsRef>) -> Option<Caps>

Source

fn parent_negotiate(&self) -> bool

Source

fn parent_set_caps(&self, caps: &CapsRef) -> bool

Source

fn parent_fixate(&self, caps: Caps) -> Caps

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§