src/global/structs/state_env.rs

10 lines · 228 bytes

 1use typemap::Key;
 2
 3/// holds all modified envs that belongs to the page
 4/// stores (key, value) pairs
 5#[derive(Default, Clone)]
 6pub struct StateEnvs(pub Vec<(String, String)>);
 7
 8impl Key for StateEnvs {
 9    type Value = Self;
10}