pub trait TypedSimdCompositeShape {
    type PartShape: ?Sized + Shape;
    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<Real>>, &Self::PartShape)
    );
    fn map_untyped_part_at(
        &self,
        shape_id: Self::PartId,
        f: impl FnMut(Option<&Isometry<Real>>, &dyn Shape)
    );
    fn typed_qbvh(&self) -> &GenericQbvh<Self::PartId, Self::QbvhStorage>;
}

Required Associated Types§

Required Methods§

source

fn map_typed_part_at( &self, shape_id: Self::PartId, f: impl FnMut(Option<&Isometry<Real>>, &Self::PartShape) )

source

fn map_untyped_part_at( &self, shape_id: Self::PartId, f: impl FnMut(Option<&Isometry<Real>>, &dyn Shape) )

source

fn typed_qbvh(&self) -> &GenericQbvh<Self::PartId, Self::QbvhStorage>

Object Safety§

This trait is not object safe.

Implementors§