pub struct BoxShape {
pub half_extents: [f32; 3],
pub extra: Vec<Extra>,
}
Expand description
Declares an axis-aligned, centered box primitive.
(Note: The type is not called Box
to avoid the name clash with the Rust builtin type.)
Fields§
§half_extents: [f32; 3]
The extents of the box.
extra: Vec<Extra>
Provides arbitrary additional information about this element.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BoxShape
impl RefUnwindSafe for BoxShape
impl Send for BoxShape
impl Sync for BoxShape
impl Unpin for BoxShape
impl UnwindSafe for BoxShape
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