pub struct ResolvedStyleValue {
pub style_hash: u64,
}Expand description
Resolved style value (the output of style resolution).
Matches the existing Style type from ftui-style but represented as
a hash for delta comparison. The actual Style struct is 32-40 bytes
and uses Copy semantics.
Fields§
§style_hash: u64Hash of the resolved style for change detection.
Trait Implementations§
Source§impl Clone for ResolvedStyleValue
impl Clone for ResolvedStyleValue
Source§fn clone(&self) -> ResolvedStyleValue
fn clone(&self) -> ResolvedStyleValue
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 ResolvedStyleValue
impl Debug for ResolvedStyleValue
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 PartialEq for ResolvedStyleValue
impl PartialEq for ResolvedStyleValue
impl Copy for ResolvedStyleValue
impl Eq for ResolvedStyleValue
impl StructuralPartialEq for ResolvedStyleValue
Auto Trait Implementations§
impl Freeze for ResolvedStyleValue
impl RefUnwindSafe for ResolvedStyleValue
impl Send for ResolvedStyleValue
impl Sync for ResolvedStyleValue
impl Unpin for ResolvedStyleValue
impl UnsafeUnpin for ResolvedStyleValue
impl UnwindSafe for ResolvedStyleValue
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> 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.