[][src]Struct qt_gui::q_opengl_texture::CoordinateDirection

#[repr(transparent)]
pub struct CoordinateDirection(_);

This enum defines the possible texture coordinate directions

C++ enum: QOpenGLTexture::CoordinateDirection.

C++ documentation:

This enum defines the possible texture coordinate directions

Methods

impl CoordinateDirection[src]

pub fn to_int(&self) -> c_int[src]

impl CoordinateDirection[src]

pub const DirectionS: CoordinateDirection[src]

The horizontal direction. Equivalent to GL_TEXTURE_WRAP_S (C++ enum variant: DirectionS = 10242)

pub const DirectionT: CoordinateDirection[src]

The vertical direction. Equivalent to GL_TEXTURE_WRAP_T (C++ enum variant: DirectionT = 10243)

pub const DirectionR: CoordinateDirection[src]

The depth direction. Equivalent to GL_TEXTURE_WRAP_R (C++ enum variant: DirectionR = 32882)

Trait Implementations

impl Clone for CoordinateDirection[src]

impl Copy for CoordinateDirection[src]

impl Debug for CoordinateDirection[src]

impl Eq for CoordinateDirection[src]

impl From<CoordinateDirection> for c_int[src]

impl From<i32> for CoordinateDirection[src]

impl PartialEq<CoordinateDirection> for CoordinateDirection[src]

impl StructuralEq for CoordinateDirection[src]

impl StructuralPartialEq for CoordinateDirection[src]

Auto Trait Implementations

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, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

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

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

impl<T> StaticUpcast<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 = 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.