pub struct WgpuFrameScope {
pub context_id: ContextId,
pub epoch: Option<SnapshotEpoch>,
pub frame_count: usize,
}Expand description
The UI scope in which renderer work was observed.
Fields§
§context_id: ContextIdContext that produced the draw data.
epoch: Option<SnapshotEpoch>Managed renderer epoch; absent only for explicitly legacy draw data.
frame_count: usizeDear ImGui native frame counter when the draw data was captured.
Trait Implementations§
Source§impl Clone for WgpuFrameScope
impl Clone for WgpuFrameScope
impl Copy for WgpuFrameScope
Source§impl Debug for WgpuFrameScope
impl Debug for WgpuFrameScope
impl Eq for WgpuFrameScope
Source§impl PartialEq for WgpuFrameScope
impl PartialEq for WgpuFrameScope
impl StructuralPartialEq for WgpuFrameScope
Auto Trait Implementations§
impl Forget for WgpuFrameScope
impl Freeze for WgpuFrameScope
impl Move for WgpuFrameScope
impl RefUnwindSafe for WgpuFrameScope
impl Send for WgpuFrameScope
impl Sync for WgpuFrameScope
impl Unpin for WgpuFrameScope
impl UnsafeUnpin for WgpuFrameScope
impl UnwindSafe for WgpuFrameScope
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.