[][src]Struct qt_gui::q_opengl_texture_blitter::Origin

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

See also blit().

C++ enum: QOpenGLTextureBlitter::Origin.

C++ documentation:

See also blit().

Methods

impl Origin[src]

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

impl Origin[src]

pub const OriginBottomLeft: Origin[src]

Indicates that the data in the texture follows the OpenGL convention of coordinate systems, meaning Y is running from bottom to top. (C++ enum variant: OriginBottomLeft = 0)

pub const OriginTopLeft: Origin[src]

Indicates that the data in the texture has Y running from top to bottom, which is typical with regular, unflipped image data. (C++ enum variant: OriginTopLeft = 1)

Trait Implementations

impl Clone for Origin[src]

impl Copy for Origin[src]

impl Debug for Origin[src]

impl Eq for Origin[src]

impl From<Origin> for c_int[src]

impl From<i32> for Origin[src]

impl PartialEq<Origin> for Origin[src]

impl StructuralEq for Origin[src]

impl StructuralPartialEq for Origin[src]

Auto Trait Implementations

impl RefUnwindSafe for Origin

impl Send for Origin

impl Sync for Origin

impl Unpin for Origin

impl UnwindSafe for Origin

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.