pub struct Region {
pub id: RegionId,
pub rect: Rect,
pub z_index: u8,
pub dirty_generation: u64,
}Expand description
A layout region with position and dirty tracking.
Fields§
§id: RegionIdUnique identifier.
rect: RectPosition and size.
z_index: u8Z-index for overlays (higher = on top).
dirty_generation: u64Dirty generation (incremented when content changes).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Region
impl RefUnwindSafe for Region
impl Send for Region
impl Sync for Region
impl Unpin for Region
impl UnwindSafe for Region
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