use std::sync::Arc; use crate::{editor::Editor, prelude::*}; pub(crate) struct PluginCache { pub info: Info, pub params: Arc, pub editor: Option>, } impl PluginCache { pub fn new(info: &Info, params: Arc, editor: Option>) -> Self { Self { info: info.clone(), params, editor, } } }