non exhaustive

This commit is contained in:
Robin Appelman 2023-12-21 18:12:47 +01:00
commit 497b2a57e7

View file

@ -19,6 +19,7 @@ pub use water::WaterMaterial;
pub use worldvertextransition::WorldVertexTransitionMaterial; pub use worldvertextransition::WorldVertexTransitionMaterial;
#[derive(Debug, Clone, Serialize, Deserialize)] #[derive(Debug, Clone, Serialize, Deserialize)]
#[non_exhaustive]
pub enum Material { pub enum Material {
#[serde(rename = "lightmappedgeneric")] #[serde(rename = "lightmappedgeneric")]
LightMappedGeneric(LightMappedGenericMaterial), LightMappedGeneric(LightMappedGenericMaterial),