[−][src]Trait rust_3d::IsViewBuildable
IsViewBuildable trait used for types which can be constructed from a view / have a view applied to them
Required methods
fn apply_view(&mut self, view: &View) -> Result<()>
Should apply the view and only keep items indexed within the view. Should return an error if any index is out of bounds
fn from_view(&self, view: &View) -> Result<Self>
Should create a new object consisting only of items indexed within the view. Should return an error if any index is out of bounds
Implementations on Foreign Types
impl<T> IsViewBuildable for LinkedList<T> where
T: Clone,
[src]
T: Clone,
fn apply_view(&mut self, view: &View) -> Result<()>
[src]
fn from_view(&self, view: &View) -> Result<Self>
[src]
impl<T> IsViewBuildable for Vec<T> where
T: Clone,
[src]
T: Clone,
fn apply_view(&mut self, view: &View) -> Result<()>
[src]
fn from_view(&self, view: &View) -> Result<Self>
[src]
impl<T> IsViewBuildable for VecDeque<T> where
T: Clone,
[src]
T: Clone,
fn apply_view(&mut self, view: &View) -> Result<()>
[src]
fn from_view(&self, view: &View) -> Result<Self>
[src]
Implementors
impl<P> IsViewBuildable for PointCloud2D<P> where
P: Is2D + Clone,
[src]
P: Is2D + Clone,
fn apply_view(&mut self, view: &View) -> Result<()>
[src]
fn from_view(&self, view: &View) -> Result<Self>
[src]
impl<P> IsViewBuildable for PointCloud3D<P> where
P: Is3D + Clone,
[src]
P: Is3D + Clone,