pub struct LayerKey {
pub element_id: u64,
pub revision: u64,
}Expand description
Identifies a cached layer by element and content revision.
Runtime bumps revision on the element and all ancestors whenever a
repaint-relevant dirty flag or direct damage mark reaches the subtree.
Fields§
§element_id: u64§revision: u64Trait Implementations§
impl Copy for LayerKey
impl Eq for LayerKey
impl StructuralPartialEq for LayerKey
Auto Trait Implementations§
impl Freeze for LayerKey
impl RefUnwindSafe for LayerKey
impl Send for LayerKey
impl Sync for LayerKey
impl Unpin for LayerKey
impl UnsafeUnpin for LayerKey
impl UnwindSafe for LayerKey
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