Trait parry3d::shape::TypedSimdCompositeShape

source ·
pub trait TypedSimdCompositeShape {
    type PartShape: ?Sized + Shape;
    type PartNormalConstraints: ?Sized + NormalConstraints;
    type PartId: IndexedData;

    // Required methods
    fn map_typed_part_at(
        &self,
        shape_id: Self::PartId,
        f: impl FnMut(Option<&Isometry<Real>>, &Self::PartShape, Option<&Self::PartNormalConstraints>)
    );
    fn map_untyped_part_at(
        &self,
        shape_id: Self::PartId,
        f: impl FnMut(Option<&Isometry<Real>>, &dyn Shape, Option<&dyn NormalConstraints>)
    );
    fn typed_qbvh(&self) -> &Qbvh<Self::PartId>;
}

Required Associated Types§

Required Methods§

source

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

source

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

source

fn typed_qbvh(&self) -> &Qbvh<Self::PartId>

Object Safety§

This trait is not object safe.

Implementors§