1
2
3
4
5
6
7
use downcast_rs::{impl_downcast, Downcast};

pub trait Value: Downcast + Send + Sync + 'static {}

impl<T> Value for T where T: Send + Sync + 'static {}

impl_downcast!(Value);