[][src]Enum bedrock::resources::AddressingMode

#[repr(C)]
pub enum AddressingMode {
    Repeat,
    MirroredRepeat,
    ClampToEdge,
    ClampToBorder,
}

Specify behavior of sampling with texture coordinates outside an image

Variants

Repeat

The repeat wrap mode

MirroredRepeat

The mirrored repeat wrap mode

ClampToEdge

The clamp to edge wrap mode

ClampToBorder

The clamp to border wrap mode

Trait Implementations

impl Clone for AddressingMode[src]

impl Copy for AddressingMode[src]

impl Debug for AddressingMode[src]

impl Eq for AddressingMode[src]

impl PartialEq<AddressingMode> for AddressingMode[src]

impl StructuralEq for AddressingMode[src]

impl StructuralPartialEq for AddressingMode[src]

Auto Trait Implementations

impl RefUnwindSafe for AddressingMode

impl Send for AddressingMode

impl Sync for AddressingMode

impl Unpin for AddressingMode

impl UnwindSafe for AddressingMode

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.