pub enum PrimitiveTopology {
TriangleList,
TriangleStrip,
LineList,
LineStrip,
PointList,
}Expand description
Primitive topology for vertex assembly.
Variants§
Trait Implementations§
Source§impl Clone for PrimitiveTopology
impl Clone for PrimitiveTopology
impl Copy for PrimitiveTopology
Source§impl Debug for PrimitiveTopology
impl Debug for PrimitiveTopology
Source§impl Default for PrimitiveTopology
impl Default for PrimitiveTopology
impl Eq for PrimitiveTopology
Source§impl PartialEq for PrimitiveTopology
impl PartialEq for PrimitiveTopology
impl StructuralPartialEq for PrimitiveTopology
Auto Trait Implementations§
impl Forget for PrimitiveTopology
impl Freeze for PrimitiveTopology
impl Move for PrimitiveTopology
impl RefUnwindSafe for PrimitiveTopology
impl Send for PrimitiveTopology
impl Sync for PrimitiveTopology
impl Unpin for PrimitiveTopology
impl UnsafeUnpin for PrimitiveTopology
impl UnwindSafe for PrimitiveTopology
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.