From 093a54c527134ef7020a22a0f5778df8cba60228 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Wed, 14 Feb 2024 23:13:17 -0800 Subject: [PATCH] impl Clone,Copy for RenderConfig --- src/model.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model.rs b/src/model.rs index 30d5361..952d7cd 100644 --- a/src/model.rs +++ b/src/model.rs @@ -78,7 +78,7 @@ impl MapVertexId for PolygonGroup{ pub struct TextureId(u32); #[derive(Clone,Copy,Hash,id::Id,Eq,PartialEq)] pub struct RenderConfigId(u32); -#[derive(Default)] +#[derive(Clone,Copy,Default)] pub struct RenderConfig{ pub texture:Option, }