pub struct GpuEventChanges {
pub transform_key_changes: Vec<GpuTransformKeyEvent>,
pub opacity_key_changes: Vec<GpuOpacityKeyEvent>,
pub scrollbar_opacity_changes: Vec<GpuScrollbarOpacityEvent>,
}Expand description
Contains all GPU-related change events from a cache synchronization.
This structure groups transform, opacity, and scrollbar opacity changes together for efficient batch processing when updating WebRender.
Fields§
§transform_key_changes: Vec<GpuTransformKeyEvent>All transform key changes (additions, modifications, removals)
opacity_key_changes: Vec<GpuOpacityKeyEvent>All opacity key changes (additions, modifications, removals)
scrollbar_opacity_changes: Vec<GpuScrollbarOpacityEvent>All scrollbar opacity key changes (additions, modifications, removals)
Implementations§
Trait Implementations§
Source§impl Clone for GpuEventChanges
impl Clone for GpuEventChanges
Source§fn clone(&self) -> GpuEventChanges
fn clone(&self) -> GpuEventChanges
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 moreSource§impl Debug for GpuEventChanges
impl Debug for GpuEventChanges
Source§impl Default for GpuEventChanges
impl Default for GpuEventChanges
Source§fn default() -> GpuEventChanges
fn default() -> GpuEventChanges
Returns the “default value” for a type. Read more
Source§impl PartialEq for GpuEventChanges
impl PartialEq for GpuEventChanges
Source§fn eq(&self, other: &GpuEventChanges) -> bool
fn eq(&self, other: &GpuEventChanges) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GpuEventChanges
impl PartialOrd for GpuEventChanges
impl StructuralPartialEq for GpuEventChanges
Auto Trait Implementations§
impl Freeze for GpuEventChanges
impl RefUnwindSafe for GpuEventChanges
impl Send for GpuEventChanges
impl Sync for GpuEventChanges
impl Unpin for GpuEventChanges
impl UnsafeUnpin for GpuEventChanges
impl UnwindSafe for GpuEventChanges
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