pub enum TextureColor {
TransparentBlack,
OpaqueBlack,
White,
}Variants§
Implementations§
Source§impl TextureColor
impl TextureColor
pub const fn stencil_clear_value(&self) -> u32
pub const fn depth_clear_value(&self) -> f32
Trait Implementations§
Source§impl Clone for TextureColor
impl Clone for TextureColor
Source§fn clone(&self) -> TextureColor
fn clone(&self) -> TextureColor
Returns a duplicate 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 TextureColor
impl Debug for TextureColor
impl Copy for TextureColor
Auto Trait Implementations§
impl Freeze for TextureColor
impl RefUnwindSafe for TextureColor
impl Send for TextureColor
impl Sync for TextureColor
impl Unpin for TextureColor
impl UnwindSafe for TextureColor
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