Enum wgpu_types::PolygonMode
source · #[repr(C)]
pub enum PolygonMode {
Fill,
Line,
Point,
}
Expand description
Type of drawing mode for polygons
Variants§
Fill
Polygons are filled
Line
Polygons are drawn as line segments
Point
Polygons are drawn as points
Trait Implementations§
source§impl Clone for PolygonMode
impl Clone for PolygonMode
source§fn clone(&self) -> PolygonMode
fn clone(&self) -> PolygonMode
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 more