wip: refactor into fewer crates

This commit is contained in:
🪞👃🪞 2025-05-01 17:39:29 +03:00
parent c367a0444e
commit 77703d83a5
105 changed files with 64 additions and 131 deletions

View file

@ -1,19 +0,0 @@
use std::sync::Arc;
use crate::{editor::Editor, prelude::*};
pub(crate) struct PluginCache {
pub info: Info,
pub params: Arc<dyn PluginParameters>,
pub editor: Option<Box<dyn Editor>>,
}
impl PluginCache {
pub fn new(info: &Info, params: Arc<dyn PluginParameters>, editor: Option<Box<dyn Editor>>) -> Self {
Self {
info: info.clone(),
params,
editor,
}
}
}