mv/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
use core::fmt::Debug;

pub mod cell;
#[cfg(feature = "serde")]
pub mod serde;
pub mod storage;

pub trait Key: Clone + Ord + Debug + Send + Sync + 'static {}
pub trait Value: Clone + Send + Sync + 'static {}

impl<T: Clone + Ord + Debug + Send + Sync + 'static> Key for T {}
impl<T: Clone + Send + Sync + 'static> Value for T {}