pub struct GpuValueCache {
pub transform_keys: BTreeMap<NodeId, TransformKey>,
pub current_transform_values: BTreeMap<NodeId, ComputedTransform3D>,
pub opacity_keys: BTreeMap<NodeId, OpacityKey>,
pub current_opacity_values: BTreeMap<NodeId, f32>,
}Fields§
§transform_keys: BTreeMap<NodeId, TransformKey>§current_transform_values: BTreeMap<NodeId, ComputedTransform3D>§opacity_keys: BTreeMap<NodeId, OpacityKey>§current_opacity_values: BTreeMap<NodeId, f32>Implementations§
Source§impl GpuValueCache
impl GpuValueCache
pub fn empty() -> Self
pub fn synchronize<'a>( &mut self, positioned_rects: &NodeDataContainerRef<'a, PositionedRectangle>, styled_dom: &StyledDom, ) -> GpuEventChanges
Trait Implementations§
Source§impl Clone for GpuValueCache
impl Clone for GpuValueCache
Source§fn clone(&self) -> GpuValueCache
fn clone(&self) -> GpuValueCache
Returns a duplicate 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 moreSource§impl Debug for GpuValueCache
impl Debug for GpuValueCache
Source§impl Default for GpuValueCache
impl Default for GpuValueCache
Source§fn default() -> GpuValueCache
fn default() -> GpuValueCache
Returns the “default value” for a type. Read more
Source§impl PartialEq for GpuValueCache
impl PartialEq for GpuValueCache
Source§impl PartialOrd for GpuValueCache
impl PartialOrd for GpuValueCache
impl StructuralPartialEq for GpuValueCache
Auto Trait Implementations§
impl Freeze for GpuValueCache
impl RefUnwindSafe for GpuValueCache
impl Send for GpuValueCache
impl Sync for GpuValueCache
impl Unpin for GpuValueCache
impl UnwindSafe for GpuValueCache
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§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