Enum gfx::state::RasterMethod []

pub enum RasterMethod {
    Point,
    Line(i32),
    Fill,
}

How to rasterize a primitive.

Variants

Rasterize as a point.

Rasterize as a line with the given width.

Rasterize as a face.

Trait Implementations

impl PartialOrd<RasterMethod> for RasterMethod

impl Hash for RasterMethod

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Eq for RasterMethod

impl PartialEq<RasterMethod> for RasterMethod

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for RasterMethod

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for RasterMethod

impl Debug for RasterMethod

Formats the value using the given formatter.