pub enum TessTopology {
Point,
Line,
TriangleCw,
TriangleCcw,
}Expand description
What the tessellator emits.
Variants§
Point
Points.
Line
Lines.
TriangleCw
Triangles wound clockwise.
TriangleCcw
Triangles wound counter-clockwise.
Trait Implementations§
Source§impl Clone for TessTopology
impl Clone for TessTopology
Source§fn clone(&self) -> TessTopology
fn clone(&self) -> TessTopology
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TessTopology
Source§impl Debug for TessTopology
impl Debug for TessTopology
impl Eq for TessTopology
Source§impl Hash for TessTopology
impl Hash for TessTopology
Source§impl Ord for TessTopology
impl Ord for TessTopology
Source§fn cmp(&self, other: &TessTopology) -> Ordering
fn cmp(&self, other: &TessTopology) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for TessTopology
impl PartialEq for TessTopology
Source§impl PartialOrd for TessTopology
impl PartialOrd for TessTopology
Source§impl Serialize for TessTopology
impl Serialize for TessTopology
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for TessTopology
Auto Trait Implementations§
impl Forget for TessTopology
impl Freeze for TessTopology
impl RefUnwindSafe for TessTopology
impl Send for TessTopology
impl Sync for TessTopology
impl Unpin for TessTopology
impl UnsafeUnpin for TessTopology
impl UnwindSafe for TessTopology
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