[][src]Struct qt_gui::q_opengl_texture::MipMapGeneration

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

This enum defines the options to control mipmap generation.

C++ enum: QOpenGLTexture::MipMapGeneration.

C++ documentation:

This enum defines the options to control mipmap generation.

Methods

impl MipMapGeneration[src]

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

impl MipMapGeneration[src]

pub const GenerateMipMaps: MipMapGeneration[src]

Mipmaps should be generated (C++ enum variant: GenerateMipMaps = 0)

pub const DontGenerateMipMaps: MipMapGeneration[src]

Mipmaps should not be generated (C++ enum variant: DontGenerateMipMaps = 1)

Trait Implementations

impl Clone for MipMapGeneration[src]

impl Copy for MipMapGeneration[src]

impl Debug for MipMapGeneration[src]

impl Eq for MipMapGeneration[src]

impl From<MipMapGeneration> for c_int[src]

impl From<i32> for MipMapGeneration[src]

impl PartialEq<MipMapGeneration> for MipMapGeneration[src]

impl StructuralEq for MipMapGeneration[src]

impl StructuralPartialEq for MipMapGeneration[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.