Struct wgpu_core::command::BasePassRef
source · pub struct BasePassRef<'a, C> {
pub label: Option<&'a str>,
pub commands: &'a [C],
pub dynamic_offsets: &'a [DynamicOffset],
pub string_data: &'a [u8],
pub push_constant_data: &'a [u32],
}
Fields§
§label: Option<&'a str>
§commands: &'a [C]
§dynamic_offsets: &'a [DynamicOffset]
§string_data: &'a [u8]
§push_constant_data: &'a [u32]
Trait Implementations§
source§impl<'a, C: Clone> Clone for BasePassRef<'a, C>
impl<'a, C: Clone> Clone for BasePassRef<'a, C>
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> Debug for BasePassRef<'a, C>
impl<'a, C: Debug> Debug for BasePassRef<'a, C>
impl<'a, C: Copy> Copy for BasePassRef<'a, C>
Auto Trait Implementations§
impl<'a, C> Freeze for BasePassRef<'a, C>
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