Enum psp::sys::TextureColorComponent
source · #[repr(u32)]pub enum TextureColorComponent {
Rgb = 0,
Rgba = 1,
}
Expand description
Texture color component-modes.
Variants§
Rgb = 0
The texture alpha does not have any effect.
Rgba = 1
The texture alpha is taken into account.
Trait Implementations§
source§impl Clone for TextureColorComponent
impl Clone for TextureColorComponent
source§fn clone(&self) -> TextureColorComponent
fn clone(&self) -> TextureColorComponent
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 TextureColorComponent
impl Debug for TextureColorComponent
impl Copy for TextureColorComponent
Auto Trait Implementations§
impl Freeze for TextureColorComponent
impl RefUnwindSafe for TextureColorComponent
impl Send for TextureColorComponent
impl Sync for TextureColorComponent
impl Unpin for TextureColorComponent
impl UnwindSafe for TextureColorComponent
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