pub struct CommandDiff { /* private fields */ }Expand description
compares ordered command inputs and their clip chains
Trait Implementations§
Source§impl DamageTracker for CommandDiff
impl DamageTracker for CommandDiff
fn update( &mut self, input: &DisplayList, screen: PhysicalRect, scale: f32, buffer_age: u8, )
fn invalidate(&mut self)
fn is_empty(&self) -> bool
fn intersects(&self, bounds: PhysicalRect, clip: u32) -> bool
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 spans valid until the returned vertical boundary
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 !RefUnwindSafe for CommandDiff
impl !Send for CommandDiff
impl !Sync for CommandDiff
impl Forget for CommandDiff
impl Freeze for CommandDiffwhere
*const u8 is !null: Freeze,
PhantomData<Command>: Freeze,
PhantomData<Clip>: Freeze,
PhantomData<Block>: Freeze,
PhantomData<(u32, fn(*mut u8))>: Freeze,
PhantomData<*mut ()>: Freeze,
PhantomData<Rect<i32>>: Freeze,
PhantomData<Vec<Rect<i32>>>: Freeze,
impl Move for CommandDiff
impl Unpin for CommandDiff
impl UnsafeUnpin for CommandDiffwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Command>: UnsafeUnpin,
PhantomData<Clip>: UnsafeUnpin,
PhantomData<Block>: UnsafeUnpin,
PhantomData<(u32, fn(*mut u8))>: UnsafeUnpin,
PhantomData<*mut ()>: UnsafeUnpin,
PhantomData<Rect<i32>>: UnsafeUnpin,
PhantomData<Vec<Rect<i32>>>: UnsafeUnpin,
impl UnwindSafe for CommandDiff
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