From 7b25df4c4dc3ead44dc02015fcc46c1ccb283b8e Mon Sep 17 00:00:00 2001 From: HampusM Date: Fri, 17 Jul 2026 01:23:25 +0200 Subject: feat(engine): add Reflection derives to various types --- engine/src/windowing/window.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'engine/src/windowing/window.rs') diff --git a/engine/src/windowing/window.rs b/engine/src/windowing/window.rs index 8f95dc8..54c24ac 100644 --- a/engine/src/windowing/window.rs +++ b/engine/src/windowing/window.rs @@ -21,7 +21,7 @@ impl Id } } -#[derive(Debug, Component, Clone)] +#[derive(Debug, Component, Clone, Reflection)] #[non_exhaustive] pub struct CreationAttributes { @@ -165,7 +165,7 @@ impl Default for CreationAttributes } } -#[derive(Debug, Clone)] +#[derive(Debug, Clone, Reflection)] #[non_exhaustive] pub enum Fullscreen { @@ -173,7 +173,7 @@ pub enum Fullscreen } /// Window icon -#[derive(Debug, Clone)] +#[derive(Debug, Clone, Reflection)] #[non_exhaustive] pub enum Icon { @@ -183,7 +183,7 @@ pub enum Icon WindowsResource(Cow<'static, str>), } -#[derive(Debug, Component, Clone, Copy)] +#[derive(Debug, Default, Component, Clone, Copy, Reflection)] pub struct CreationReady; #[derive(Debug, Component, Reflection)] @@ -254,7 +254,7 @@ impl Window } } -#[derive(Debug, Component)] +#[derive(Debug, Component, Reflection)] pub struct Closed; #[derive( -- cgit v1.2.3-18-g5258