pub struct ColliderDesc {
pub shape: Shape,
pub offset: [f32; 3],
pub rotation: [f32; 4],
pub friction: f32,
pub restitution: f32,
pub sensor: bool,
}Fields§
§shape: Shape§offset: [f32; 3]§rotation: [f32; 4]§friction: f32§restitution: f32§sensor: boolImplementations§
Source§impl ColliderDesc
impl ColliderDesc
Trait Implementations§
Source§impl Clone for ColliderDesc
impl Clone for ColliderDesc
Source§fn clone(&self) -> ColliderDesc
fn clone(&self) -> ColliderDesc
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 ColliderDesc
Auto Trait Implementations§
impl Freeze for ColliderDesc
impl RefUnwindSafe for ColliderDesc
impl Send for ColliderDesc
impl Sync for ColliderDesc
impl Unpin for ColliderDesc
impl UnsafeUnpin for ColliderDesc
impl UnwindSafe for ColliderDesc
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