Trait parry2d::partitioning::QbvhStorage

source ·
pub trait QbvhStorage<LeafData> {
    type Nodes: Array1<QbvhNode>;
    type ArrayU32: Array1<u32>;
    type ArrayProxies: Array1<QbvhProxy<LeafData>>;
}
Expand description

Trait describing all the types needed for storing a Qbvh’s data.

Required Associated Types§

source

type Nodes: Array1<QbvhNode>

Type of the array containing the Qbvh nodes.

source

type ArrayU32: Array1<u32>

Type of an array containing u32.

source

type ArrayProxies: Array1<QbvhProxy<LeafData>>

Type of the array containing the Qbvh leaves.

Implementors§

source§

impl<LeafData> QbvhStorage<LeafData> for DefaultStorage

§

type Nodes = Vec<QbvhNode>

§

type ArrayU32 = Vec<u32>

§

type ArrayProxies = Vec<QbvhProxy<LeafData>>