pub struct CommandStreamRun<'a, A> { /* private fields */ }Expand description
An in-progress invocation of a CommandStream into a Graph.
Bind every declared stream argument before calling CommandStreamRun::finish.
let stream = CommandStream::finalize(|stream| {
stream.arg(ImageInfo::image_2d(
32,
32,
vk::Format::R8G8B8A8_UNORM,
vk::ImageUsageFlags::TRANSFER_DST,
))
})
.into_stream();
let mut graph = Graph::new();
graph
.insert_cmd_stream(&stream)
.with_arg(stream.args, image)
.finish();Implementations§
Source§impl<'a, A> CommandStreamRun<'a, A>
impl<'a, A> CommandStreamRun<'a, A>
Auto Trait Implementations§
impl<'a, A> !RefUnwindSafe for CommandStreamRun<'a, A>
impl<'a, A> !Sync for CommandStreamRun<'a, A>
impl<'a, A> !UnwindSafe for CommandStreamRun<'a, A>
impl<'a, A> Freeze for CommandStreamRun<'a, A>
impl<'a, A> Send for CommandStreamRun<'a, A>where
A: Sync,
impl<'a, A> Unpin for CommandStreamRun<'a, A>
impl<'a, A> UnsafeUnpin for CommandStreamRun<'a, A>
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