mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 05:06:43 +01:00
collect crates/ and deps/
This commit is contained in:
parent
2f8882f6cd
commit
8fa0f8a409
140 changed files with 23 additions and 21 deletions
|
|
@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue