[−][src]Struct qt_gui::q_opengl_texture::SwizzleComponent
This enum defines the texture color components that can be assigned a swizzle mask.
C++ enum: QOpenGLTexture::SwizzleComponent
.
This enum defines the texture color components that can be assigned a swizzle mask.
Methods
impl SwizzleComponent
[src]
impl SwizzleComponent
[src]
pub const SwizzleRed: SwizzleComponent
[src]
The red component. Equivalent to GL_TEXTURE_SWIZZLE_R (C++ enum variant: SwizzleRed = 36418
)
pub const SwizzleGreen: SwizzleComponent
[src]
The green component. Equivalent to GL_TEXTURE_SWIZZLE_G (C++ enum variant: SwizzleGreen = 36419
)
pub const SwizzleBlue: SwizzleComponent
[src]
The blue component. Equivalent to GL_TEXTURE_SWIZZLE_B (C++ enum variant: SwizzleBlue = 36420
)
pub const SwizzleAlpha: SwizzleComponent
[src]
The alpha component. Equivalent to GL_TEXTURE_SWIZZLE_A (C++ enum variant: SwizzleAlpha = 36421
)
Trait Implementations
impl Clone for SwizzleComponent
[src]
fn clone(&self) -> SwizzleComponent
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SwizzleComponent
[src]
impl Debug for SwizzleComponent
[src]
impl Eq for SwizzleComponent
[src]
impl From<SwizzleComponent> for c_int
[src]
fn from(value: SwizzleComponent) -> Self
[src]
impl From<i32> for SwizzleComponent
[src]
impl PartialEq<SwizzleComponent> for SwizzleComponent
[src]
fn eq(&self, other: &SwizzleComponent) -> bool
[src]
fn ne(&self, other: &SwizzleComponent) -> bool
[src]
impl StructuralEq for SwizzleComponent
[src]
impl StructuralPartialEq for SwizzleComponent
[src]
Auto Trait Implementations
impl RefUnwindSafe for SwizzleComponent
impl Send for SwizzleComponent
impl Sync for SwizzleComponent
impl Unpin for SwizzleComponent
impl UnwindSafe for SwizzleComponent
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,