compiles, doesn't run. Not sure where I left this...
This commit is contained in:
@@ -10,8 +10,9 @@ use wgpu::{BindGroup, Buffer, TextureView};
|
||||
use crate::runtime::state::{TomlPositionDescription, TomlRotationDescription};
|
||||
use imgui::Ui;
|
||||
|
||||
// a component is any type that is 'static, sized, send and sync
|
||||
|
||||
/// a component is any type that is 'static, sized, send and sync
|
||||
/// ImguiWindow contains a single handle and lifetime to an Imgui window, along with
|
||||
/// a function which takes a UI, as well as a vector of a user defined type T
|
||||
pub struct ImguiWindow<'a, T> {
|
||||
pub window: fn() -> imgui::Window<'a>,
|
||||
pub func: fn(&Ui, Vec<&T>),
|
||||
|
||||
Reference in New Issue
Block a user