This commit is contained in:
nora 2023-04-18 15:43:42 +02:00
parent 77a0e91746
commit ea398555ac
365 changed files with 6 additions and 84334 deletions

View file

@ -5,7 +5,7 @@ use quote::quote;
pub fn derive_inspect(input: TokenStream) -> TokenStream {
let expanded = quote! {
impl ::egui_inspect::Inspect for GameState {
fn inspect_mut(&mut self, ui: &mut ::egui::Ui) {
fn inspect_mut(&mut self) {
output_mut(|o| o.copied_text = format!(""));
output_mut(|o| o.copied_text = format!("{:?}", self.tile_db));
}