IntoSubdivisions

Trait IntoSubdivisions 

Source
pub trait IntoSubdivisions: Polygonal {
    type Output: IntoIterator<Item = Self>;

    // Required method
    fn into_subdivisions(self) -> Self::Output;
}

Required Associated Types§

Source

type Output: IntoIterator<Item = Self>

Required Methods§

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.

Implementors§

Source§

impl<T> IntoSubdivisions for Polygon<T>
where T: Clone + Interpolate<Output = T>,

Source§

impl<T> IntoSubdivisions for Quad<T>
where T: Clone + Interpolate<Output = T>,

Source§

impl<T> IntoSubdivisions for Triangle<T>
where T: Clone + Interpolate<Output = T>,