[][src]Enum ggraphics::WrapMode

pub enum WrapMode {
    Clamp,
    Tile,
    Mirror,
}

Wrap modes a sampler may have.

Variants

Clamp

Clamp colors to the edge of the texture.

Tile

Tile/repeat the texture.

Mirror

Mirror the texture.

Trait Implementations

impl Clone for WrapMode[src]

impl Copy for WrapMode[src]

impl Eq for WrapMode[src]

impl PartialEq<WrapMode> for WrapMode[src]

impl Debug for WrapMode[src]

impl Hash for WrapMode[src]

impl StructuralPartialEq for WrapMode[src]

impl StructuralEq for WrapMode[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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 = !

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.

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

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

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