Trait jumpy::core::physics::collisions::rapier::TypedSimdCompositeShape
source · pub trait TypedSimdCompositeShape {
type PartShape: Shape + ?Sized;
type PartId: IndexedData;
type QbvhStorage: QbvhStorage<Self::PartId>;
// Required methods
fn map_typed_part_at(
&self,
shape_id: Self::PartId,
f: impl FnMut(Option<&Isometry<f32, Unit<Complex<f32>>, 2>>, &Self::PartShape),
);
fn map_untyped_part_at(
&self,
shape_id: Self::PartId,
f: impl FnMut(Option<&Isometry<f32, Unit<Complex<f32>>, 2>>, &(dyn Shape + 'static)),
);
fn typed_qbvh(&self) -> &GenericQbvh<Self::PartId, Self::QbvhStorage>;
}
Required Associated Types§
type PartShape: Shape + ?Sized
type PartId: IndexedData
type QbvhStorage: QbvhStorage<Self::PartId>
Required Methods§
fn map_typed_part_at( &self, shape_id: Self::PartId, f: impl FnMut(Option<&Isometry<f32, Unit<Complex<f32>>, 2>>, &Self::PartShape), )
fn map_untyped_part_at( &self, shape_id: Self::PartId, f: impl FnMut(Option<&Isometry<f32, Unit<Complex<f32>>, 2>>, &(dyn Shape + 'static)), )
fn typed_qbvh(&self) -> &GenericQbvh<Self::PartId, Self::QbvhStorage>
Object Safety§
This trait is not object safe.