VideoSrc

Trait VideoSrc 

Source
pub trait VideoSrc:
    Iterator<Item = RenderedFrame>
    + Send
    + 'static
    + Sealed {
    // Required methods
    fn framerate(&self) -> NonZeroU8;
    fn width(&self) -> u32;
    fn height(&self) -> u32;
}

Required Methods§

Source

fn framerate(&self) -> NonZeroU8

Source

fn width(&self) -> u32

Source

fn height(&self) -> u32

Implementors§

Source§

impl<const W: usize, const H: usize> VideoSrc for WgpuRenderer<W, H>