pub struct WgpuViewportObservation {
pub target: NativeWindowTarget,
pub scope: WgpuFrameScope,
pub dependencies: WgpuDrawDependencies,
pub stage: WgpuFrameStage,
pub outcome: WgpuFrameOutcome,
}Expand description
Immutable-by-ownership association between native target, frame, dependencies and observed work.
Save this value directly in editor history. Resolve live windows separately by instance_id;
the stored viewport routing ID must never be reinterpreted through a newer routing table.
Fields§
§target: NativeWindowTargetNative registration and routing association captured for this attempt.
scope: WgpuFrameScopeUI frame associated with the observation.
dependencies: WgpuDrawDependenciesExternal mappings used by successfully prepared commands.
stage: WgpuFrameStageHighest completed operation observed by this backend.
outcome: WgpuFrameOutcomeSkip or failure information, retaining any earlier successful stage.
Trait Implementations§
Source§impl Clone for WgpuViewportObservation
impl Clone for WgpuViewportObservation
Source§impl Debug for WgpuViewportObservation
impl Debug for WgpuViewportObservation
impl Eq for WgpuViewportObservation
Source§impl PartialEq for WgpuViewportObservation
impl PartialEq for WgpuViewportObservation
impl StructuralPartialEq for WgpuViewportObservation
Auto Trait Implementations§
impl Forget for WgpuViewportObservation
impl Freeze for WgpuViewportObservation
impl Move for WgpuViewportObservation
impl RefUnwindSafe for WgpuViewportObservation
impl Send for WgpuViewportObservation
impl Sync for WgpuViewportObservation
impl Unpin for WgpuViewportObservation
impl UnsafeUnpin for WgpuViewportObservation
impl UnwindSafe for WgpuViewportObservation
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.