pub enum GsInput {
Point,
Line,
Triangle,
LineAdjacency,
TriangleAdjacency,
}Expand description
The primitive a geometry program reads.
Variants§
Point
One point (1 vertex).
Line
One line (2 vertices).
Triangle
One triangle (3 vertices).
LineAdjacency
A line with its two neighbouring vertices (4 vertices).
TriangleAdjacency
A triangle with its three neighbouring vertices (6 vertices).
Implementations§
Trait Implementations§
impl Copy for GsInput
impl Eq for GsInput
Source§impl Ord for GsInput
impl Ord for GsInput
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 PartialOrd for GsInput
impl PartialOrd for GsInput
impl StructuralPartialEq for GsInput
Auto Trait Implementations§
impl Freeze for GsInput
impl RefUnwindSafe for GsInput
impl Send for GsInput
impl Sync for GsInput
impl Unpin for GsInput
impl UnsafeUnpin for GsInput
impl UnwindSafe for GsInput
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