pub struct PassDescriptor {
pub name: String,
pub clear_color: [f32; 4],
pub clear_depth: Option<f32>,
pub instance_indices: Vec<usize>,
}Fields§
§name: String§clear_color: [f32; 4]§clear_depth: Option<f32>§instance_indices: Vec<usize>Implementations§
Trait Implementations§
Source§impl Clone for PassDescriptor
impl Clone for PassDescriptor
Source§fn clone(&self) -> PassDescriptor
fn clone(&self) -> PassDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PassDescriptor
impl RefUnwindSafe for PassDescriptor
impl Send for PassDescriptor
impl Sync for PassDescriptor
impl Unpin for PassDescriptor
impl UnsafeUnpin for PassDescriptor
impl UnwindSafe for PassDescriptor
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