pub struct MeasureCacheEntry {
pub available_w: f32,
pub available_h: f32,
pub style_pin_hash: u64,
pub result_w: f32,
pub result_h: f32,
pub baseline_offset: f32,
pub is_valid: bool,
}Expand description
Cached flexbox/grid measurement probe result ((available_w, available_h, style_pin_hash) -> (result_w, result_h, baseline_offset)), allowing clean subtrees to skip Pass-1 / Pass-2
measurement traversals in O(1) without disturbing their final Pass-4 child geometry.
Fields§
§available_w: f32§available_h: f32§style_pin_hash: u64§result_w: f32§result_h: f32§baseline_offset: f32§is_valid: boolImplementations§
Trait Implementations§
Source§impl Clone for MeasureCacheEntry
impl Clone for MeasureCacheEntry
impl Copy for MeasureCacheEntry
Source§impl Debug for MeasureCacheEntry
impl Debug for MeasureCacheEntry
Source§impl Default for MeasureCacheEntry
impl Default for MeasureCacheEntry
Source§impl PartialEq for MeasureCacheEntry
impl PartialEq for MeasureCacheEntry
impl StructuralPartialEq for MeasureCacheEntry
Auto Trait Implementations§
impl Forget for MeasureCacheEntry
impl Freeze for MeasureCacheEntry
impl Move for MeasureCacheEntry
impl RefUnwindSafe for MeasureCacheEntry
impl Send for MeasureCacheEntry
impl Sync for MeasureCacheEntry
impl Unpin for MeasureCacheEntry
impl UnsafeUnpin for MeasureCacheEntry
impl UnwindSafe for MeasureCacheEntry
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