pub struct LayoutCacheEntry {
pub available_w: f32,
pub available_h: f32,
pub result_w: f32,
pub result_h: f32,
pub origin_x: f32,
pub origin_y: f32,
pub style_pin_hash: u64,
pub is_valid: bool,
}Expand description
Compact layout result cache for O(1) subtree re-entry during multi-pass formatting.
Fields§
§available_w: f32§available_h: f32§result_w: f32§result_h: f32§origin_x: f32§origin_y: f32§style_pin_hash: u64§is_valid: boolImplementations§
Trait Implementations§
Source§impl Clone for LayoutCacheEntry
impl Clone for LayoutCacheEntry
impl Copy for LayoutCacheEntry
Source§impl Debug for LayoutCacheEntry
impl Debug for LayoutCacheEntry
Source§impl Default for LayoutCacheEntry
impl Default for LayoutCacheEntry
Source§impl PartialEq for LayoutCacheEntry
impl PartialEq for LayoutCacheEntry
impl StructuralPartialEq for LayoutCacheEntry
Auto Trait Implementations§
impl Forget for LayoutCacheEntry
impl Freeze for LayoutCacheEntry
impl Move for LayoutCacheEntry
impl RefUnwindSafe for LayoutCacheEntry
impl Send for LayoutCacheEntry
impl Sync for LayoutCacheEntry
impl Unpin for LayoutCacheEntry
impl UnsafeUnpin for LayoutCacheEntry
impl UnwindSafe for LayoutCacheEntry
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