[−][src]Trait rust_3d::IsDataContainer
IsDataContainer trait used for data containers allowing for different storage types than using the abstracted type
Required methods
fn reserve_d(&mut self, n: usize)
Should reserve space for n elements of type T
fn len_d(&self) -> usize
Should return the number of T elements in the container
fn push_d(&mut self, x: T)
Should push a T to the end of the container
fn get_d(&self, index: usize) -> T
Should return the element at index
fn set_d(&mut self, index: usize, x: T)
Should set the element at index
Implementors
impl<P> IsDataContainer<P> for PointCloud2D<P> where
P: IsBuildable2D + Clone,
[src]
P: IsBuildable2D + Clone,
fn reserve_d(&mut self, n: usize)
[src]
fn len_d(&self) -> usize
[src]
fn push_d(&mut self, p: P)
[src]
fn get_d(&self, index: usize) -> P
[src]
fn set_d(&mut self, index: usize, p: P)
[src]
impl<P> IsDataContainer<P> for PointCloud3D<P> where
P: IsBuildable3D + Clone,
[src]
P: IsBuildable3D + Clone,
fn reserve_d(&mut self, n: usize)
[src]
fn len_d(&self) -> usize
[src]
fn push_d(&mut self, p: P)
[src]
fn get_d(&self, index: usize) -> P
[src]
fn set_d(&mut self, index: usize, p: P)
[src]
impl<P> IsDataContainer<P> for PointCloud3Df32<P> where
P: IsBuildable3D,
[src]
P: IsBuildable3D,