summaryrefslogtreecommitdiff
path: root/src/context.rs
blob: 47661d088ef5589a41a8063dd4670f91eb911523 (plain)
1
2
3
4
5
6
use std::any::Any;

pub trait Context {
    fn get(&self, key: &str) -> Option<&dyn Any>;
    fn set(&mut self, key: &str, value: &dyn Any);
}