Skip to main content

Frame

Trait Frame 

Source
pub trait Frame:
    Sized
    + Send
    + FrameFromPtr {
    // Required methods
    fn api(&self) -> Api;
    fn as_ptr(&self) -> *mut VSFrame;
    fn residency(&self) -> VSNodeResidency;
    fn properties(&self) -> Option<MapRef<'_>>;
}

Required Methods§

Source

fn api(&self) -> Api

Source

fn as_ptr(&self) -> *mut VSFrame

Source

fn residency(&self) -> VSNodeResidency

Returns whether the data resides in host or GPU memory.

Source

fn properties(&self) -> Option<MapRef<'_>>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<M> Frame for MediaFrame<M>