Struct EntitySpatialBounds
#[repr(C)]pub struct EntitySpatialBounds {
pub entity_id: u32,
pub min_corner: [f32; 3],
pub max_corner: [f32; 3],
pub velocity_mps: [f32; 3],
pub salience_class: u8,
}Expand description
A bounding box for a spatial entity in world space.
Fields§
§entity_id: u32§min_corner: [f32; 3]§max_corner: [f32; 3]§velocity_mps: [f32; 3]§salience_class: u8Trait Implementations§
§impl Clone for EntitySpatialBounds
impl Clone for EntitySpatialBounds
§fn clone(&self) -> EntitySpatialBounds
fn clone(&self) -> EntitySpatialBounds
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EntitySpatialBounds
§impl Debug for EntitySpatialBounds
impl Debug for EntitySpatialBounds
§impl PartialEq for EntitySpatialBounds
impl PartialEq for EntitySpatialBounds
impl StructuralPartialEq for EntitySpatialBounds
Auto Trait Implementations§
impl Freeze for EntitySpatialBounds
impl RefUnwindSafe for EntitySpatialBounds
impl Send for EntitySpatialBounds
impl Sync for EntitySpatialBounds
impl Unpin for EntitySpatialBounds
impl UnsafeUnpin for EntitySpatialBounds
impl UnwindSafe for EntitySpatialBounds
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