Trait SparseBitmap

Source
pub trait SparseBitmap<BitMap>
where BitMap: StorageMap<u128, u128, Query = u128>,
{ // Required methods fn get(index: u128) -> bool; fn set(index: u128); }
Expand description

Sparse bitmap interface.

Required Methods§

Source

fn get(index: u128) -> bool

Source

fn set(index: u128)

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.

Implementors§

Source§

impl<BitMap> SparseBitmap<BitMap> for SparseBitmapImpl<BitMap>
where BitMap: StorageMap<u128, u128, Query = u128>,