pub struct ShortBoundingBox {
pub min: U16Vec3,
pub max: U16Vec3,
}Fields§
§min: U16Vec3§max: U16Vec3Trait Implementations§
Source§impl BspValue for ShortBoundingBox
impl BspValue for ShortBoundingBox
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 ShortBoundingBox
impl Clone for ShortBoundingBox
Source§fn clone(&self) -> ShortBoundingBox
fn clone(&self) -> ShortBoundingBox
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 ShortBoundingBox
impl Debug for ShortBoundingBox
Source§impl From<ShortBoundingBox> for BoundingBox
impl From<ShortBoundingBox> for BoundingBox
Source§fn from(value: ShortBoundingBox) -> Self
fn from(value: ShortBoundingBox) -> Self
Converts to this type from the input type.
impl Copy for ShortBoundingBox
Auto Trait Implementations§
impl Freeze for ShortBoundingBox
impl RefUnwindSafe for ShortBoundingBox
impl Send for ShortBoundingBox
impl Sync for ShortBoundingBox
impl Unpin for ShortBoundingBox
impl UnwindSafe for ShortBoundingBox
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