pub struct BoxPiece {
pub center: Vec3,
pub half_extents: Vec3,
pub rotation: Quat,
pub material: u16,
}Fields§
§center: Vec3§half_extents: Vec3§rotation: Quat§material: u16Implementations§
Trait Implementations§
impl Copy for BoxPiece
impl StructuralPartialEq for BoxPiece
Auto Trait Implementations§
impl Freeze for BoxPiece
impl RefUnwindSafe for BoxPiece
impl Send for BoxPiece
impl Sync for BoxPiece
impl Unpin for BoxPiece
impl UnwindSafe for BoxPiece
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