Skip to main content

YuvPlanes

Trait YuvPlanes 

Source
pub trait YuvPlanes:
    Send
    + Sync
    + Debug {
    // Required method
    fn frame(&self) -> YuvFrame<'_>;
}
Expand description

Decoded YCbCr planes a source converts from, owned by whoever decoded them (a decoder’s frame buffer), and kept unchanged while any source holds them.

Required Methods§

Source

fn frame(&self) -> YuvFrame<'_>

The frame the planes hold.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§