Enum gfx_core::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

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

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.