Enum gfx_core::shade::IsRect [] [src]

pub enum IsRect {
    Rect,
    NoRect,
}

Whether the sampler samples a rectangle texture.

Rectangle textures are the same as 2D textures, but accessed with absolute texture coordinates (as opposed to the usual, normalized to [0, 1]).

Variants

Trait Implementations

impl Clone for IsRect
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for IsRect
[src]

impl Debug for IsRect
[src]

Formats the value using the given formatter.

impl Eq for IsRect
[src]

impl Hash for IsRect
[src]

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

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

impl PartialEq for IsRect
[src]

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

This method tests for !=.