pub enum Extension {
Standard,
Hexen2(f32),
Quake2 {
content_flags: u32,
surface_flags: u32,
value: f32,
},
Daikatana {
unknown: (u32, u32, u32),
color: (u32, u32, u32),
},
}
Expand description
Enum representing format-specific brush plane extension data.
Variants§
Standard
Standard format, no extension.
Hexen2(f32)
Hexen 2 format, unknown numeric value.
Quake2
Quake 2 format.
Daikatana
Trait Implementations§
source§impl<'de> Deserialize<'de> for Extension
impl<'de> Deserialize<'de> for Extension
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Extension
impl PartialEq for Extension
source§impl PartialOrd for Extension
impl PartialOrd for Extension
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl StructuralPartialEq for Extension
Auto Trait Implementations§
impl Freeze for Extension
impl RefUnwindSafe for Extension
impl Send for Extension
impl Sync for Extension
impl Unpin for Extension
impl UnwindSafe for Extension
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more