pub struct CapturedStep { /* private fields */ }Implementations§
Source§impl CapturedStep
impl CapturedStep
Sourcepub fn capture<F>(stream: u64, body: F) -> Result<Self>
pub fn capture<F>(stream: u64, body: F) -> Result<Self>
Capture a sequence of stream operations issued by body. Device
pointers passed to launches inside body are baked in at capture
time; subsequent launch calls reread the same memory locations.
pub fn launch(&self, stream: u64) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CapturedStep
impl RefUnwindSafe for CapturedStep
impl Send for CapturedStep
impl Sync for CapturedStep
impl Unpin for CapturedStep
impl UnwindSafe for CapturedStep
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