Enum psp::sys::PatchPrimitive
source · #[repr(u32)]pub enum PatchPrimitive {
Points = 0,
LineStrip = 2,
TriangleStrip = 4,
}
Expand description
Patch primitive types
Variants§
Points = 0
Single pixel points (1 vertex per primitive)
LineStrip = 2
Single pixel line-strip (2 vertices for the first primitive, 1 for every following)
TriangleStrip = 4
Filled triangles-strip (3 vertices for the first primitive, 1 for every following)
Trait Implementations§
source§impl Clone for PatchPrimitive
impl Clone for PatchPrimitive
source§fn clone(&self) -> PatchPrimitive
fn clone(&self) -> PatchPrimitive
Returns a copy 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 moresource§impl Debug for PatchPrimitive
impl Debug for PatchPrimitive
impl Copy for PatchPrimitive
Auto Trait Implementations§
impl Freeze for PatchPrimitive
impl RefUnwindSafe for PatchPrimitive
impl Send for PatchPrimitive
impl Sync for PatchPrimitive
impl Unpin for PatchPrimitive
impl UnwindSafe for PatchPrimitive
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