pub struct TileDamage { /* private fields */ }Implementations§
Trait Implementations§
Source§impl DamageTracker for TileDamage
impl DamageTracker for TileDamage
Source§fn intersects(&self, bounds: PhysicalRect, clip: u32) -> bool
fn intersects(&self, bounds: PhysicalRect, clip: u32) -> bool
conservatively tests bounds against damage and their command clip
Source§fn line_ranges(
&self,
line: i32,
bounds: PhysicalRect,
ranges: &mut Vec<Range<usize>>,
) -> i32
fn line_ranges( &self, line: i32, bounds: PhysicalRect, ranges: &mut Vec<Range<usize>>, ) -> i32
writes sorted disjoint horizontal ranges and returns their next vertical boundary
fn update( &mut self, input: &DisplayList, screen: PhysicalRect, scale: f32, buffer_age: u8, )
fn invalidate(&mut self)
fn is_empty(&self) -> bool
Source§fn finish_frame(&mut self, _rendered: &mut DisplayList)
fn finish_frame(&mut self, _rendered: &mut DisplayList)
may swap the rendered list for one the renderer clears and reuses
Auto Trait Implementations§
impl Forget for TileDamage
impl Freeze for TileDamagewhere
*const u8 is !null: Freeze,
PhantomData<u64>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<u32>: Freeze,
PhantomData<Clip>: Freeze,
impl Move for TileDamage
impl RefUnwindSafe for TileDamage
impl Send for TileDamagewhere
RawVecInner: Send,
impl Sync for TileDamagewhere
RawVecInner: Sync,
impl Unpin for TileDamage
impl UnsafeUnpin for TileDamagewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u64>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<u32>: UnsafeUnpin,
PhantomData<Clip>: UnsafeUnpin,
impl UnwindSafe for TileDamagewhere
RawVecInner: UnwindSafe,
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