Enum gfx_core::state::RasterMethod [] [src]

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
[src]

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 Eq for RasterMethod
[src]

impl Copy for RasterMethod
[src]

impl PartialEq<RasterMethod> for RasterMethod
[src]

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

This method tests for !=.

impl Debug for RasterMethod
[src]

Formats the value using the given formatter.

impl Hash for RasterMethod
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for RasterMethod
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more