pub struct FrameResult {
pub stages: [StageAlert; 3],
}Expand description
Combined result from observing all stages.
Fields§
§stages: [StageAlert; 3]Per-stage alert decisions.
Implementations§
Source§impl FrameResult
impl FrameResult
Sourcepub fn alerting_stages(&self) -> Vec<RenderStage>
pub fn alerting_stages(&self) -> Vec<RenderStage>
Which stages triggered alerts.
Sourcepub fn stage(&self, stage: RenderStage) -> &StageAlert
pub fn stage(&self, stage: RenderStage) -> &StageAlert
Get result for a specific stage.
Trait Implementations§
Source§impl Clone for FrameResult
impl Clone for FrameResult
Source§fn clone(&self) -> FrameResult
fn clone(&self) -> FrameResult
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 FrameResult
impl RefUnwindSafe for FrameResult
impl Send for FrameResult
impl Sync for FrameResult
impl Unpin for FrameResult
impl UnsafeUnpin for FrameResult
impl UnwindSafe for FrameResult
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