pub struct DeindexedListFormat<'p, P: PolygonList<'p> + ?Sized, L: List<P::Vertex>>{ /* private fields */ }
Expand description
A ListFormat which outputs the triangle list by their actual vertex values, not their indices
Implementations§
Trait Implementations§
Source§impl<'p, P: Debug + PolygonList<'p> + ?Sized, L: Debug + List<P::Vertex>> Debug for DeindexedListFormat<'p, P, L>
impl<'p, P: Debug + PolygonList<'p> + ?Sized, L: Debug + List<P::Vertex>> Debug for DeindexedListFormat<'p, P, L>
Source§impl<'p, P: PolygonList<'p> + ?Sized, L: List<P::Vertex>> ListFormat<'p, P> for DeindexedListFormat<'p, P, L>
impl<'p, P: PolygonList<'p> + ?Sized, L: List<P::Vertex>> ListFormat<'p, P> for DeindexedListFormat<'p, P, L>
Source§type Builder = DeindexedListBuilder<'p, P, L>
type Builder = DeindexedListBuilder<'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.
Auto Trait Implementations§
impl<'p, P, L> Freeze for DeindexedListFormat<'p, P, L>
impl<'p, P, L> RefUnwindSafe for DeindexedListFormat<'p, P, L>
impl<'p, P, L> Send for DeindexedListFormat<'p, P, L>
impl<'p, P, L> Sync for DeindexedListFormat<'p, P, L>
impl<'p, P, L> Unpin for DeindexedListFormat<'p, P, L>
impl<'p, P, L> UnwindSafe for DeindexedListFormat<'p, P, L>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more