Struct wgpu::core::command::BasePassRef
source · pub struct BasePassRef<'a, C> {
pub label: Option<&'a str>,
pub commands: &'a [C],
pub dynamic_offsets: &'a [u32],
pub string_data: &'a [u8],
pub push_constant_data: &'a [u32],
}
Fields§
§label: Option<&'a str>
§commands: &'a [C]
§dynamic_offsets: &'a [u32]
§string_data: &'a [u8]
§push_constant_data: &'a [u32]
Trait Implementations§
source§impl<'a, C> Clone for BasePassRef<'a, C>where
C: Clone,
impl<'a, C> Clone for BasePassRef<'a, C>where
C: Clone,
source§fn clone(&self) -> BasePassRef<'a, C>
fn clone(&self) -> BasePassRef<'a, C>
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<'a, C> Debug for BasePassRef<'a, C>where
C: Debug,
impl<'a, C> Debug for BasePassRef<'a, C>where
C: Debug,
impl<'a, C> Copy for BasePassRef<'a, C>where
C: Copy,
Auto Trait Implementations§
impl<'a, C> RefUnwindSafe for BasePassRef<'a, C>where
C: RefUnwindSafe,
impl<'a, C> Send for BasePassRef<'a, C>where
C: Sync,
impl<'a, C> Sync for BasePassRef<'a, C>where
C: Sync,
impl<'a, C> Unpin for BasePassRef<'a, C>
impl<'a, C> UnwindSafe for BasePassRef<'a, C>where
C: RefUnwindSafe,
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