vm_memory::bitmap

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

Source§

type S = ()

Source§

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

A Bitmap and BitmapSlice implementation for Option<B>.

Source§

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

Implementors§