Enum nannou::wgpu::PolygonMode [−]
#[repr(C)]
pub enum PolygonMode {
Fill,
Line,
Point,
}
Expand description
Type of drawing mode for polygons
Variants
Polygons are filled
Polygons are drawn as line segments
Polygons are drawn as points
Trait Implementations
impl Clone for PolygonMode
impl Clone for PolygonMode
pub fn clone(&self) -> PolygonMode
pub fn clone(&self) -> PolygonMode
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for PolygonMode
impl Debug for PolygonMode
impl Default for PolygonMode
impl Default for PolygonMode
pub fn default() -> PolygonMode
pub fn default() -> PolygonMode
Returns the “default value” for a type. Read more
impl Hash for PolygonMode
impl Hash for PolygonMode
impl PartialEq<PolygonMode> for PolygonMode
impl PartialEq<PolygonMode> for PolygonMode
impl Copy for PolygonMode
impl Eq for PolygonMode
impl StructuralEq for PolygonMode
impl StructuralPartialEq for PolygonMode
Auto Trait Implementations
impl RefUnwindSafe for PolygonMode
impl Send for PolygonMode
impl Sync for PolygonMode
impl Unpin for PolygonMode
impl UnwindSafe for PolygonMode
Blanket Implementations
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: Component + Float,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: Component + Float,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
Mutably borrows from an owned value. Read more
Convert into T with values clamped to the color defined bounds Read more
Convert into T. The resulting color might be invalid in its color space Read more
Convert into T, returning ok if the color is inside of its defined range,
otherwise an OutOfBounds
error is returned which contains the unclamped color. Read more
Compare self to key
and return true
if they are equal.