pub struct PassTimingQuery {
pub pass_name: String,
pub cpu_time: Duration,
pub gpu_time_estimate: Duration,
pub start_offset: Duration,
}Expand description
Simulated GPU timing query result for a single pass.
Fields§
§pass_name: String§cpu_time: Duration§gpu_time_estimate: Duration§start_offset: DurationImplementations§
Trait Implementations§
Source§impl Clone for PassTimingQuery
impl Clone for PassTimingQuery
Source§fn clone(&self) -> PassTimingQuery
fn clone(&self) -> PassTimingQuery
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 moreAuto Trait Implementations§
impl Freeze for PassTimingQuery
impl RefUnwindSafe for PassTimingQuery
impl Send for PassTimingQuery
impl Sync for PassTimingQuery
impl Unpin for PassTimingQuery
impl UnsafeUnpin for PassTimingQuery
impl UnwindSafe for PassTimingQuery
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