Struct qt_gui::q_opengl_texture::TextureUnitReset
source · pub struct TextureUnitReset(/* private fields */);
Expand description
This enum defines options ot control texture unit activation.
C++ enum: QOpenGLTexture::TextureUnitReset
.
This enum defines options ot control texture unit activation.
Implementations§
source§impl TextureUnitReset
impl TextureUnitReset
sourcepub const ResetTextureUnit: TextureUnitReset = _
pub const ResetTextureUnit: TextureUnitReset = _
The previous active texture unit will be reset (C++ enum variant: ResetTextureUnit = 0
)
sourcepub const DontResetTextureUnit: TextureUnitReset = _
pub const DontResetTextureUnit: TextureUnitReset = _
The previous active texture unit will not be rest (C++ enum variant: DontResetTextureUnit = 1
)
Trait Implementations§
source§impl Clone for TextureUnitReset
impl Clone for TextureUnitReset
source§fn clone(&self) -> TextureUnitReset
fn clone(&self) -> TextureUnitReset
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 TextureUnitReset
impl Debug for TextureUnitReset
source§impl From<TextureUnitReset> for c_int
impl From<TextureUnitReset> for c_int
source§fn from(value: TextureUnitReset) -> Self
fn from(value: TextureUnitReset) -> Self
Converts to this type from the input type.
source§impl From<i32> for TextureUnitReset
impl From<i32> for TextureUnitReset
source§impl PartialEq for TextureUnitReset
impl PartialEq for TextureUnitReset
source§fn eq(&self, other: &TextureUnitReset) -> bool
fn eq(&self, other: &TextureUnitReset) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TextureUnitReset
impl Eq for TextureUnitReset
impl StructuralEq for TextureUnitReset
impl StructuralPartialEq for TextureUnitReset
Auto Trait Implementations§
impl RefUnwindSafe for TextureUnitReset
impl Send for TextureUnitReset
impl Sync for TextureUnitReset
impl Unpin for TextureUnitReset
impl UnwindSafe for TextureUnitReset
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