pub struct MultiShot<S = NoSimultaneousUse>(pub S);
Expand description
Command buffer with this usage flag will move back to executable state after execution.
Tuple Fields§
§0: S
Trait Implementations§
Source§impl Usage for MultiShot
impl Usage for MultiShot
Source§fn flags(&self) -> CommandBufferFlags
fn flags(&self) -> CommandBufferFlags
Flags required to begin command buffer.
Source§impl Usage for MultiShot<SimultaneousUse>
impl Usage for MultiShot<SimultaneousUse>
Source§fn flags(&self) -> CommandBufferFlags
fn flags(&self) -> CommandBufferFlags
Flags required to begin command buffer.
impl<S: Copy> Copy for MultiShot<S>
Auto Trait Implementations§
impl<S> Freeze for MultiShot<S>where
S: Freeze,
impl<S> RefUnwindSafe for MultiShot<S>where
S: RefUnwindSafe,
impl<S> Send for MultiShot<S>where
S: Send,
impl<S> Sync for MultiShot<S>where
S: Sync,
impl<S> Unpin for MultiShot<S>where
S: Unpin,
impl<S> UnwindSafe for MultiShot<S>where
S: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)