Skip to main content

ResizableBitmap

Trait ResizableBitmap 

pub trait ResizableBitmap {
    // Required method
    fn resize(&mut self, new_size: usize);
}
Expand description

A bitmap that can be resized.

Required Methods§

fn resize(&mut self, new_size: usize)

Resizes the bitmap to be new_size bits long. Inserts zeros if the bitmap grows.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§