pub struct ReplayCanvasLayerUpdate {
pub layer: usize,
pub regions: Option<Vec<Rect>>,
}Expand description
Replay invalidation for one logical canvas layer.
Fields§
§layer: usize§regions: Option<Vec<Rect>>Canvas-content regions requiring replay. The runtime selects nodes from its
shared scene geometry; None requests full-layer dirtification.
Trait Implementations§
Source§impl Clone for ReplayCanvasLayerUpdate
impl Clone for ReplayCanvasLayerUpdate
Source§fn clone(&self) -> ReplayCanvasLayerUpdate
fn clone(&self) -> ReplayCanvasLayerUpdate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReplayCanvasLayerUpdate
impl RefUnwindSafe for ReplayCanvasLayerUpdate
impl Send for ReplayCanvasLayerUpdate
impl Sync for ReplayCanvasLayerUpdate
impl Unpin for ReplayCanvasLayerUpdate
impl UnsafeUnpin for ReplayCanvasLayerUpdate
impl UnwindSafe for ReplayCanvasLayerUpdate
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.