mop-structs 0.0.10

Low-level structures for MOP
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::prelude::DynDenseStoMut;

/// Dynamic Indexed Storage - Reference
pub trait DynDenseSto: DynDenseStoMut {
  fn new() -> Self;
}

#[cfg(feature = "std")]
impl<T> DynDenseSto for Vec<T> {
  fn new() -> Self {
    Vec::new()
  }
}