pub struct Quake2SurfaceExtension {
pub content_flags: i32,
pub surface_flags: i32,
pub surface_value: f64,
}Expand description
Quake II Surface Extension
Additional fields for surfaces to support Quake II maps. Contains two bit fields (up to 31 bits in each; negative values are non-standard, but a signed type is used for consistency with existing tools) and a floating- point value (ought to be an integer, but TrenchBroom allows writing floats).
Fields§
§content_flags: i32Flags describing contents of the brush
surface_flags: i32Flags describing the surface
surface_value: f64Value associated with surface, e.g. light value for emissive surfaces
Implementations§
Trait Implementations§
Source§impl Clone for Quake2SurfaceExtension
impl Clone for Quake2SurfaceExtension
Source§fn clone(&self) -> Quake2SurfaceExtension
fn clone(&self) -> Quake2SurfaceExtension
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Quake2SurfaceExtension
impl Debug for Quake2SurfaceExtension
Source§impl Default for Quake2SurfaceExtension
impl Default for Quake2SurfaceExtension
impl Copy for Quake2SurfaceExtension
Auto Trait Implementations§
impl Freeze for Quake2SurfaceExtension
impl RefUnwindSafe for Quake2SurfaceExtension
impl Send for Quake2SurfaceExtension
impl Sync for Quake2SurfaceExtension
impl Unpin for Quake2SurfaceExtension
impl UnsafeUnpin for Quake2SurfaceExtension
impl UnwindSafe for Quake2SurfaceExtension
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