Struct triangulate::formats::IndexedListFormat
source · pub struct IndexedListFormat<'p, P: PolygonList<'p> + ?Sized, L: List<P::Index>> { /* private fields */ }
Expand description
A ListFormat which outputs the triangle list by its indices
Implementations§
source§impl<'p, P: PolygonList<'p> + ?Sized, L: List<P::Index>> IndexedListFormat<'p, P, L>
impl<'p, P: PolygonList<'p> + ?Sized, L: List<P::Index>> IndexedListFormat<'p, P, L>
Trait Implementations§
source§impl<'p, P: Debug + PolygonList<'p> + ?Sized, L: Debug + List<P::Index>> Debug for IndexedListFormat<'p, P, L>
impl<'p, P: Debug + PolygonList<'p> + ?Sized, L: Debug + List<P::Index>> Debug for IndexedListFormat<'p, P, L>
source§impl<'p, P: PolygonList<'p> + ?Sized, L: List<P::Index>> ListFormat<'p, P> for IndexedListFormat<'p, P, L>
impl<'p, P: PolygonList<'p> + ?Sized, L: List<P::Index>> ListFormat<'p, P> for IndexedListFormat<'p, P, L>
§type Builder = IndexedListBuilder<'p, P, L>
type Builder = IndexedListBuilder<'p, P, L>
The type responsible for constructing the triangle list. Read more
source§fn initialize(
self,
polygon_list: &'p P
) -> Result<Self::Builder, <Self::Builder as ListBuilder<'p, P>>::Error>
fn initialize( self, polygon_list: &'p P ) -> Result<Self::Builder, <Self::Builder as ListBuilder<'p, P>>::Error>
Constructs a ListFormat::Builder, optionally using a reference to the PolygonList being triangulated.
source§fn into_fan_format(self) -> FanToListFormat<'p, P, Self>where
Self: Sized,
fn into_fan_format(self) -> FanToListFormat<'p, P, Self>where Self: Sized,
Converts this ListFormat into a FanFormat, the format type required for triangulation.