Struct qt_gui::q_opengl_texture::MipMapGeneration
source · pub struct MipMapGeneration(/* private fields */);
Expand description
This enum defines the options to control mipmap generation.
C++ enum: QOpenGLTexture::MipMapGeneration
.
This enum defines the options to control mipmap generation.
Implementations§
source§impl MipMapGeneration
impl MipMapGeneration
sourcepub const GenerateMipMaps: MipMapGeneration = _
pub const GenerateMipMaps: MipMapGeneration = _
Mipmaps should be generated (C++ enum variant: GenerateMipMaps = 0
)
sourcepub const DontGenerateMipMaps: MipMapGeneration = _
pub const DontGenerateMipMaps: MipMapGeneration = _
Mipmaps should not be generated (C++ enum variant: DontGenerateMipMaps = 1
)
Trait Implementations§
source§impl Clone for MipMapGeneration
impl Clone for MipMapGeneration
source§fn clone(&self) -> MipMapGeneration
fn clone(&self) -> MipMapGeneration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MipMapGeneration
impl Debug for MipMapGeneration
source§impl From<MipMapGeneration> for c_int
impl From<MipMapGeneration> for c_int
source§fn from(value: MipMapGeneration) -> Self
fn from(value: MipMapGeneration) -> Self
Converts to this type from the input type.
source§impl From<i32> for MipMapGeneration
impl From<i32> for MipMapGeneration
source§impl PartialEq for MipMapGeneration
impl PartialEq for MipMapGeneration
source§fn eq(&self, other: &MipMapGeneration) -> bool
fn eq(&self, other: &MipMapGeneration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MipMapGeneration
impl Eq for MipMapGeneration
impl StructuralEq for MipMapGeneration
impl StructuralPartialEq for MipMapGeneration
Auto Trait Implementations§
impl RefUnwindSafe for MipMapGeneration
impl Send for MipMapGeneration
impl Sync for MipMapGeneration
impl Unpin for MipMapGeneration
impl UnwindSafe for MipMapGeneration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more