Trait vm_memory::mmap::NewBitmap

source ·
pub trait NewBitmap: Bitmap + Default {
    // Required method
    fn with_len(len: usize) -> Self;
}
Expand description

A Bitmap that can be created starting from an initial size.

Required Methods§

source

fn with_len(len: usize) -> Self

Create a new object based on the specified length in bytes.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl NewBitmap for ()

source§

fn with_len(_len: usize) -> Self

Implementors§