Enum gfx::shade::core::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 Copy for IsRect
[src]

impl Clone for IsRect
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Hash for IsRect
[src]

[src]

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

1.3.0
[src]

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

impl PartialEq<IsRect> for IsRect
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Debug for IsRect
[src]

[src]

Formats the value using the given formatter.

impl Eq for IsRect
[src]