Trait IndexedData
parry3d_f64::partitioning
pub trait IndexedData: Copy { fn default() -> Self; fn index(&self) -> usize; }
A data to which an index is associated.
fn default() -> Self
Creates a new default instance of Self.
Self
fn index(&self) -> usize
Gets the index associated to self.
self
impl IndexedData for usize
impl IndexedData for u32
impl IndexedData for u64