pub struct StyleKey(pub u32);Expand description
Key for style view: identifies a widget’s style slot.
Tuple Fields§
§0: u32Trait Implementations§
Source§impl IncrementalView<StyleKey, ResolvedStyleValue> for StyleResolutionView
impl IncrementalView<StyleKey, ResolvedStyleValue> for StyleResolutionView
Source§fn apply_delta(
&mut self,
batch: &DeltaBatch<StyleKey, ResolvedStyleValue>,
) -> DeltaBatch<StyleKey, ResolvedStyleValue>
fn apply_delta( &mut self, batch: &DeltaBatch<StyleKey, ResolvedStyleValue>, ) -> DeltaBatch<StyleKey, ResolvedStyleValue>
Apply a batch of input deltas and produce output deltas. Read more
Source§fn full_recompute(&self) -> Vec<(StyleKey, ResolvedStyleValue)>
fn full_recompute(&self) -> Vec<(StyleKey, ResolvedStyleValue)>
Fully recompute the materialized view from scratch. Read more
Source§fn materialized_size(&self) -> usize
fn materialized_size(&self) -> usize
Number of entries in the materialized view.
Source§fn domain(&self) -> ViewDomain
fn domain(&self) -> ViewDomain
Domain of this view (for logging and evidence).
Source§impl Ord for StyleKey
impl Ord for StyleKey
Source§impl PartialOrd for StyleKey
impl PartialOrd for StyleKey
impl Copy for StyleKey
impl Eq for StyleKey
impl StructuralPartialEq for StyleKey
Auto Trait Implementations§
impl Freeze for StyleKey
impl RefUnwindSafe for StyleKey
impl Send for StyleKey
impl Sync for StyleKey
impl Unpin for StyleKey
impl UnsafeUnpin for StyleKey
impl UnwindSafe for StyleKey
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.