pub struct LightGridNode {
pub division_point: UVec3,
pub children: [u32; 8],
}Fields§
§division_point: UVec3§children: [u32; 8]Implementations§
Trait Implementations§
Source§impl BspValue for LightGridNode
impl BspValue for LightGridNode
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 LightGridNode
impl Clone for LightGridNode
Source§fn clone(&self) -> LightGridNode
fn clone(&self) -> LightGridNode
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 LightGridNode
impl RefUnwindSafe for LightGridNode
impl Send for LightGridNode
impl Sync for LightGridNode
impl Unpin for LightGridNode
impl UnwindSafe for LightGridNode
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