pub enum TileNodeKind {
Leaf {
prev_indices: Vec<PrimitiveDependencyIndex>,
curr_indices: Vec<PrimitiveDependencyIndex>,
dirty_tracker: u64,
frames_since_modified: usize,
},
Node {
children: Vec<TileNode>,
},
}Expand description
Details for a node in a quadtree that tracks dirty rects for a tile.
Variants§
Leaf
Fields
§
prev_indices: Vec<PrimitiveDependencyIndex>The index buffer of primitives that affected this tile previous frame
§
curr_indices: Vec<PrimitiveDependencyIndex>The index buffer of primitives that affect this tile on this frame
Node
Auto Trait Implementations§
impl Freeze for TileNodeKind
impl RefUnwindSafe for TileNodeKind
impl Send for TileNodeKind
impl Sync for TileNodeKind
impl Unpin for TileNodeKind
impl UnsafeUnpin for TileNodeKind
impl UnwindSafe for TileNodeKind
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more