pub struct VnRetainedLayoutStats {
pub nodes_created: u64,
pub nodes_reused: u64,
pub style_writes: u64,
pub child_writes: u64,
pub probe_calls: u64,
pub probe_replays: u64,
pub probe_mismatches: u64,
pub settle_calls: u64,
pub nodes_freed: u64,
}Expand description
Work retained layout performed during an opt-in profiling capture.
Fields§
§nodes_created: u64New Taffy nodes allocated during this capture.
nodes_reused: u64Requests served by a node retained from a previous frame.
style_writes: u64Changed converted styles written to Taffy.
child_writes: u64Changed child lists written to Taffy.
probe_calls: u64Calls to current measurement closures, including replay and settling.
probe_replays: u64Measured nodes whose recorded probes all matched the new closure.
probe_mismatches: u64Measured nodes invalidated because a recorded probe changed size.
settle_calls: u64Measurements taken again at their final laid out content width.
nodes_freed: u64Transient or unclaimed Taffy nodes removed at frame end.
Trait Implementations§
Source§impl Clone for VnRetainedLayoutStats
impl Clone for VnRetainedLayoutStats
impl Copy for VnRetainedLayoutStats
Source§impl Debug for VnRetainedLayoutStats
impl Debug for VnRetainedLayoutStats
Auto Trait Implementations§
impl Forget for VnRetainedLayoutStats
impl Freeze for VnRetainedLayoutStats
impl Move for VnRetainedLayoutStats
impl RefUnwindSafe for VnRetainedLayoutStats
impl Send for VnRetainedLayoutStats
impl Sync for VnRetainedLayoutStats
impl Unpin for VnRetainedLayoutStats
impl UnsafeUnpin for VnRetainedLayoutStats
impl UnwindSafe for VnRetainedLayoutStats
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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