Enum webrender::TileNodeKind
source · 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
Trait Implementations§
source§impl Clone for TileNodeKind
impl Clone for TileNodeKind
source§fn clone(&self) -> TileNodeKind
fn clone(&self) -> TileNodeKind
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for TileNodeKind
impl RefUnwindSafe for TileNodeKind
impl Send for TileNodeKind
impl Sync for TileNodeKind
impl Unpin 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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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