pub struct NodeHeat {
pub generation: u8,
pub last_kind: u8,
pub ttl_frames: u8,
pub flags: u8,
pub dirty_commits: u32,
pub paint_reemits: u32,
pub layout_commits: u32,
}Expand description
Dense per-node dirty/paint heat slot indexed by NodeId::index() (16 B Copy POD).
Fields§
§generation: u8§last_kind: u8§ttl_frames: u8§flags: u8Bitmask of NODE_HEAT_OCCUPIED | NODE_HEAT_FLASHING.
dirty_commits: u32§paint_reemits: u32§layout_commits: u32Implementations§
Source§impl NodeHeat
impl NodeHeat
pub const fn is_occupied(self) -> bool
pub const fn is_flashing(self) -> bool
Trait Implementations§
impl Copy for NodeHeat
impl Eq for NodeHeat
impl StructuralPartialEq for NodeHeat
Auto Trait Implementations§
impl Forget for NodeHeat
impl Freeze for NodeHeat
impl Move for NodeHeat
impl RefUnwindSafe for NodeHeat
impl Send for NodeHeat
impl Sync for NodeHeat
impl Unpin for NodeHeat
impl UnsafeUnpin for NodeHeat
impl UnwindSafe for NodeHeat
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