liblisa::utils::bitmap

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.

Implementors§