pub enum PrimitiveElement {
Polylist(Polylist),
Triangles(Triangles),
}
Expand description
Geometric primitives, which assemble values from the inputs into vertex attribute data.
Variants§
Trait Implementations§
Source§impl Clone for PrimitiveElement
impl Clone for PrimitiveElement
Source§fn clone(&self) -> PrimitiveElement
fn clone(&self) -> PrimitiveElement
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for PrimitiveElement
impl RefUnwindSafe for PrimitiveElement
impl Send for PrimitiveElement
impl Sync for PrimitiveElement
impl Unpin for PrimitiveElement
impl UnwindSafe for PrimitiveElement
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