pub struct RenderDecision {
pub canvas_id: String,
pub placement: PlanPlacement,
pub added_pixels: f64,
pub conflict_pixels: f64,
pub uncertain_pixels: f64,
pub skipped: bool,
pub reused_exact_observation: bool,
}Expand description
One placement’s line in the observation ledger (observation/<frame>): the canvas it targeted, its final
render-time placement, and either its pixel contribution or which shortcut skipped painting it.
Fields§
§canvas_id: String§placement: PlanPlacement§added_pixels: f64§conflict_pixels: f64§uncertain_pixels: f64§skipped: boolWritten as skipped: true when set, absent otherwise.
reused_exact_observation: boolWritten as reusedExactObservation: true when set, absent otherwise.
Trait Implementations§
Source§impl Clone for RenderDecision
impl Clone for RenderDecision
Source§impl Debug for RenderDecision
impl Debug for RenderDecision
Source§impl PartialEq for RenderDecision
impl PartialEq for RenderDecision
impl StructuralPartialEq for RenderDecision
Auto Trait Implementations§
impl Freeze for RenderDecision
impl RefUnwindSafe for RenderDecision
impl Send for RenderDecision
impl Sync for RenderDecision
impl Unpin for RenderDecision
impl UnsafeUnpin for RenderDecision
impl UnwindSafe for RenderDecision
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more