src/global/structs/state_env.rs

84c4617332578aaf4e9ee68a0a2d7d6258e48243
youtube-tui/src/global/structs/state_env.rs history · blame · raw

10 lines · 228 bytes

2 symbols in this file
 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}