#[non_exhaustive]pub struct ExecutionOptions {
pub gpu_debug_groups: bool,
pub frame_index: u64,
}Expand description
Options controlling one GPU execution without changing the compiled plan.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.gpu_debug_groups: boolEmit recording debug-group paths on FrameGraph-owned command encoders.
frame_index: u64Caller-defined identity propagated to execution callbacks and timing reports.
Implementations§
Source§impl ExecutionOptions
impl ExecutionOptions
Sourcepub const fn with_gpu_debug_groups(self, enabled: bool) -> Self
pub const fn with_gpu_debug_groups(self, enabled: bool) -> Self
Enables or disables emission of retained recording groups as GPU debug markers.
Sourcepub const fn with_frame_index(self, frame_index: u64) -> Self
pub const fn with_frame_index(self, frame_index: u64) -> Self
Sets the caller-defined frame identity passed to callbacks and timing reports.
Trait Implementations§
Source§impl Clone for ExecutionOptions
impl Clone for ExecutionOptions
Source§fn clone(&self) -> ExecutionOptions
fn clone(&self) -> ExecutionOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ExecutionOptions
Source§impl Debug for ExecutionOptions
impl Debug for ExecutionOptions
Source§impl Default for ExecutionOptions
impl Default for ExecutionOptions
Source§fn default() -> ExecutionOptions
fn default() -> ExecutionOptions
Returns the “default value” for a type. Read more
impl Eq for ExecutionOptions
Source§impl PartialEq for ExecutionOptions
impl PartialEq for ExecutionOptions
impl StructuralPartialEq for ExecutionOptions
Auto Trait Implementations§
impl Freeze for ExecutionOptions
impl RefUnwindSafe for ExecutionOptions
impl Send for ExecutionOptions
impl Sync for ExecutionOptions
impl Unpin for ExecutionOptions
impl UnsafeUnpin for ExecutionOptions
impl UnwindSafe for ExecutionOptions
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.