pub enum PassAction {
Nothing,
Clear {
color: Option<(f32, f32, f32, f32)>,
depth: Option<f32>,
stencil: Option<i32>,
},
}
Variants
Nothing
Clear
Implementations
sourceimpl PassAction
impl PassAction
pub fn clear_color(r: f32, g: f32, b: f32, a: f32) -> PassAction
Trait Implementations
sourceimpl Default for PassAction
impl Default for PassAction
sourcefn default() -> PassAction
fn default() -> PassAction
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for PassAction
impl Send for PassAction
impl Sync for PassAction
impl Unpin for PassAction
impl UnwindSafe for PassAction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more