pub struct LayoutValue {
pub rects_hash: u64,
pub rect_count: u16,
}Expand description
Layout result value (the output of layout computation).
Wraps the cached Rect positions from IncrementalLayout.
Fields§
§rects_hash: u64Hash of the computed rects for change detection.
rect_count: u16Number of sub-regions computed.
Trait Implementations§
Source§impl Clone for LayoutValue
impl Clone for LayoutValue
Source§fn clone(&self) -> LayoutValue
fn clone(&self) -> LayoutValue
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 moreSource§impl Debug for LayoutValue
impl Debug for LayoutValue
Source§impl PartialEq for LayoutValue
impl PartialEq for LayoutValue
impl Eq for LayoutValue
impl StructuralPartialEq for LayoutValue
Auto Trait Implementations§
impl Freeze for LayoutValue
impl RefUnwindSafe for LayoutValue
impl Send for LayoutValue
impl Sync for LayoutValue
impl Unpin for LayoutValue
impl UnsafeUnpin for LayoutValue
impl UnwindSafe for LayoutValue
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.