Trait vm_memory::bitmap::WithBitmapSlice

source ·
pub trait WithBitmapSlice<'a> {
    type S: BitmapSlice;
}
Expand description

Trait implemented by types that support creating BitmapSlice objects.

Required Associated Types§

source

type S: BitmapSlice

Type of the bitmap slice.

Implementations on Foreign Types§

source§

impl<'a> WithBitmapSlice<'a> for ()

A no-op Bitmap implementation that can be provided for backends that do not actually require the tracking functionality.

§

type S = ()

source§

impl<'a, B> WithBitmapSlice<'a> for Option<B>
where B: WithBitmapSlice<'a>,

A Bitmap and BitmapSlice implementation for Option<B>.

§

type S = Option<<B as WithBitmapSlice<'a>>::S>

Implementors§