pub struct CompileInfo<'a> {
pub queues: &'a [&'a Arc<Queue>],
pub present_queue: Option<&'a Arc<Queue>>,
pub flight_id: Id<Flight>,
pub _ne: NonExhaustive<'a>,
}
Fields§
§queues: &'a [&'a Arc<Queue>]
The queues to work with.
You must supply at least one queue and all queues must be from unique queue families.
The default value is empty, which must be overridden.
present_queue: Option<&'a Arc<Queue>>
The queue to use for swapchain presentation, if any.
You must supply this queue if the task graph uses any swapchains. It can be the same queue
as one in the queues
field, or a different one.
The default value is None
.
flight_id: Id<Flight>
The flight which will be executed.
The default value is Id::INVALID
, which must be overridden.
_ne: NonExhaustive<'a>
Trait Implementations§
Source§impl<'a> Clone for CompileInfo<'a>
impl<'a> Clone for CompileInfo<'a>
Source§fn clone(&self) -> CompileInfo<'a>
fn clone(&self) -> CompileInfo<'a>
Returns a duplicate 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> Debug for CompileInfo<'a>
impl<'a> Debug for CompileInfo<'a>
Auto Trait Implementations§
impl<'a> Freeze for CompileInfo<'a>
impl<'a> !RefUnwindSafe for CompileInfo<'a>
impl<'a> Send for CompileInfo<'a>
impl<'a> Sync for CompileInfo<'a>
impl<'a> Unpin for CompileInfo<'a>
impl<'a> !UnwindSafe for CompileInfo<'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