pub trait WaveFrontCompatible<'a> {
type Scalar: Float + Debug + AddAssign + Display;
// Provided methods
fn pos_iterator(&'a self) -> impl Iterator<Item = [Self::Scalar; 3]> { ... }
fn point_color_iterator(&'a self) -> impl Iterator<Item = [Self::Scalar; 3]> { ... }
fn uv_iterator(&'a self) -> impl Iterator<Item = [Self::Scalar; 2]> { ... }
fn norm_iterator(&'a self) -> impl Iterator<Item = [Self::Scalar; 3]> { ... }
fn segment_iterator(&'a self) -> impl Iterator<Item = [usize; 2]> { ... }
fn pos_index_iterator(
&'a self,
) -> impl Iterator<Item = impl Iterator<Item = usize>> { ... }
fn uv_index_iterator(
&'a self,
) -> impl Iterator<Item = impl Iterator<Item = usize>> { ... }
fn norm_index_iterator(
&'a self,
) -> impl Iterator<Item = impl Iterator<Item = usize>> { ... }
}
Required Associated Types§
Provided Methods§
fn pos_iterator(&'a self) -> impl Iterator<Item = [Self::Scalar; 3]>
fn point_color_iterator(&'a self) -> impl Iterator<Item = [Self::Scalar; 3]>
fn uv_iterator(&'a self) -> impl Iterator<Item = [Self::Scalar; 2]>
fn norm_iterator(&'a self) -> impl Iterator<Item = [Self::Scalar; 3]>
fn segment_iterator(&'a self) -> impl Iterator<Item = [usize; 2]>
fn pos_index_iterator( &'a self, ) -> impl Iterator<Item = impl Iterator<Item = usize>>
fn uv_index_iterator( &'a self, ) -> impl Iterator<Item = impl Iterator<Item = usize>>
fn norm_index_iterator( &'a self, ) -> impl Iterator<Item = impl Iterator<Item = usize>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.