Make create info serializable

This commit is contained in:
hodasemi 2023-01-17 07:08:29 +01:00
parent 1c64e01384
commit 976bb051bb

View file

@ -1,6 +1,7 @@
use crate::prelude::*; use crate::prelude::*;
use anyhow::Result; use anyhow::Result;
use assetpath::AssetPath; use assetpath::AssetPath;
use serde::{Deserialize, Serialize};
use utilities::prelude::*; use utilities::prelude::*;
use vulkan_rs::prelude::*; use vulkan_rs::prelude::*;
@ -21,7 +22,7 @@ use std::{ops::Deref, sync::Weak};
use paste::paste; use paste::paste;
#[derive(Clone, Default, Debug)] #[derive(Deserialize, Serialize, Clone, Default, Debug)]
pub struct GuiHandlerCreateInfo { pub struct GuiHandlerCreateInfo {
// default button textures // default button textures
pub menu_button: AssetPath, pub menu_button: AssetPath,