Enum gfx::shade::core::IsRect []

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 Debug for IsRect

Formats the value using the given formatter.

impl PartialEq<IsRect> for IsRect

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

This method tests for !=.

impl Hash for IsRect

impl Eq for IsRect

impl Copy for IsRect

impl Clone for IsRect

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more