Trait parry3d::shape::TypedSimdCompositeShape[][src]

pub trait TypedSimdCompositeShape {
    type PartShape: ?Sized + Shape;
    type PartId: IndexedData;
    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_quadtree(&self) -> &SimdQuadTree<Self::PartId>; }

Associated Types

Loading content...

Required methods

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

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

fn typed_quadtree(&self) -> &SimdQuadTree<Self::PartId>[src]

Loading content...

Implementors

impl TypedSimdCompositeShape for Compound[src]

type PartShape = dyn Shape

type PartId = u32

impl TypedSimdCompositeShape for Polyline[src]

type PartShape = Segment

type PartId = u32

impl TypedSimdCompositeShape for TriMesh[src]

type PartShape = Triangle

type PartId = u32

impl<'a> TypedSimdCompositeShape for dyn SimdCompositeShape + 'a[src]

type PartShape = dyn Shape

type PartId = u32

Loading content...