pub enum MeshTopology {
Line,
Triangle,
}Expand description
What a mesh program’s primitives are.
Variants§
Line
Each primitive is a line of two vertex indices.
Triangle
Each primitive is a triangle of three vertex indices.
Implementations§
Trait Implementations§
Source§impl Clone for MeshTopology
impl Clone for MeshTopology
impl Copy for MeshTopology
Source§impl Debug for MeshTopology
impl Debug for MeshTopology
impl Eq for MeshTopology
Source§impl Hash for MeshTopology
impl Hash for MeshTopology
Source§impl Ord for MeshTopology
impl Ord for MeshTopology
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 MeshTopology
impl PartialEq for MeshTopology
Source§impl PartialOrd for MeshTopology
impl PartialOrd for MeshTopology
Source§impl Serialize for MeshTopology
impl Serialize for MeshTopology
impl StructuralPartialEq for MeshTopology
Auto Trait Implementations§
impl Freeze for MeshTopology
impl RefUnwindSafe for MeshTopology
impl Send for MeshTopology
impl Sync for MeshTopology
impl Unpin for MeshTopology
impl UnsafeUnpin for MeshTopology
impl UnwindSafe for MeshTopology
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