pub struct CarHitbox {
pub family: CarHitboxFamily,
pub length: f32,
pub width: f32,
pub height: f32,
pub angle: f32,
pub front_height: f32,
pub back_height: f32,
pub offset: f32,
pub elevation: f32,
}Fields§
§family: CarHitboxFamily§length: f32§width: f32§height: f32§angle: f32§front_height: f32§back_height: f32§offset: f32§elevation: f32Implementations§
Trait Implementations§
impl Copy for CarHitbox
impl StructuralPartialEq for CarHitbox
Auto Trait Implementations§
impl Freeze for CarHitbox
impl RefUnwindSafe for CarHitbox
impl Send for CarHitbox
impl Sync for CarHitbox
impl Unpin for CarHitbox
impl UnsafeUnpin for CarHitbox
impl UnwindSafe for CarHitbox
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