Struct style::sharing::StyleSharingTarget
[−]
[src]
pub struct StyleSharingTarget<E: TElement> { /* fields omitted */ }
An element we want to test against the style sharing cache.
Methods
impl<E: TElement> StyleSharingTarget<E>
[src]
pub fn new(element: E) -> Self
[src]
Trivially construct a new StyleSharingTarget to test against the cache.
[src]
Attempts to share a style with another node.
pub fn take_validation_data(&mut self) -> ValidationData
[src]
Gets the validation data used to match against this target, if any.