vm_memory::mmap

Trait 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.

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.

Implementations on Foreign Types§

Source§

impl NewBitmap for ()

Source§

fn with_len(_len: usize) -> Self

Implementors§