pub struct BspBrushSide {
pub plane_idx: UBspValue,
pub tex_info_idx: UBspValue,
}Expand description
The side of a brush stored inside a Quake 2 BSP.
Fields§
§plane_idx: UBspValue§tex_info_idx: UBspValueTrait Implementations§
Source§impl BspValue for BspBrushSide
impl BspValue for BspBrushSide
Source§fn bsp_parse(reader: &mut BspByteReader<'_>) -> BspResult<Self>
fn bsp_parse(reader: &mut BspByteReader<'_>) -> BspResult<Self>
Parse this value, advancing the byte reader.
Source§fn bsp_struct_size(ctx: &BspParseContext) -> usize
fn bsp_struct_size(ctx: &BspParseContext) -> usize
How big this value is in the BSP file in bytes. If it is a variable size, return
unimplemented!(), as calling this on variable-sized values would be a bug.Source§impl Clone for BspBrushSide
impl Clone for BspBrushSide
Source§fn clone(&self) -> BspBrushSide
fn clone(&self) -> BspBrushSide
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 moreAuto Trait Implementations§
impl Freeze for BspBrushSide
impl RefUnwindSafe for BspBrushSide
impl Send for BspBrushSide
impl Sync for BspBrushSide
impl Unpin for BspBrushSide
impl UnwindSafe for BspBrushSide
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