Trait VideoFrame

Source
pub trait VideoFrame: Frame {
    // Required methods
    fn dimensions(&self) -> (u16, u16);
    fn bit_depth(&self) -> u8;
}

Required Methods§

Source

fn dimensions(&self) -> (u16, u16)

Video Dimensions (Width, Height)

Source

fn bit_depth(&self) -> u8

Bits per pixel (8, 10, 12)

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§