Trait ResizeBuffer

Source
pub trait ResizeBuffer: Buffer2d {
    // Required method
    fn resize(&mut self, width: u32, height: u32);
}

Required Methods§

Source

fn resize(&mut self, width: u32, height: u32)

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§