pub(crate) trait FrameAlloc {
// Required method
fn new(width: usize, height: usize, chroma_sampling: ChromaSampling) -> Self;
}
Expand description
Public Trait Interface for Frame Allocation
Required Methods§
Sourcefn new(width: usize, height: usize, chroma_sampling: ChromaSampling) -> Self
fn new(width: usize, height: usize, chroma_sampling: ChromaSampling) -> Self
Initialise new frame default type
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.