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

Rect
NoRect

Trait Implementations

impl Clone for IsRect[src]

impl Copy for IsRect[src]

impl Debug for IsRect[src]

impl Eq for IsRect[src]

impl Hash for IsRect[src]

impl PartialEq<IsRect> for IsRect[src]

impl StructuralEq for IsRect[src]

impl StructuralPartialEq for IsRect[src]

Auto Trait Implementations

impl RefUnwindSafe for IsRect

impl Send for IsRect

impl Sync for IsRect

impl Unpin for IsRect

impl UnwindSafe for IsRect

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.