Struct style::stylesheet_set::StylesheetFlusher
[−]
[src]
pub struct StylesheetFlusher<'a, S> where
S: StylesheetInDocument + PartialEq + 'static, { /* fields omitted */ }
A struct to iterate over the different stylesheets to be flushed.
Methods
impl<'a, S> StylesheetFlusher<'a, S> where
S: StylesheetInDocument + PartialEq + 'static,
[src]
S: StylesheetInDocument + PartialEq + 'static,
pub fn origin_validity(&self, origin: Origin) -> OriginValidity
[src]
The data validity for a given origin.
pub fn origin_dirty(&self, origin: Origin) -> bool
[src]
Whether the origin data is dirty in any way.
ⓘImportant traits for StylesheetCollectionIterator<'a, S>pub fn manual_origin_sheets<'b>(
&'b mut self,
origin: Origin
) -> StylesheetCollectionIterator<'b, S> where
'a: 'b,
[src]
ⓘImportant traits for StylesheetCollectionIterator<'a, S>
&'b mut self,
origin: Origin
) -> StylesheetCollectionIterator<'b, S> where
'a: 'b,
Returns an iterator over the stylesheets of a given origin, assuming all of them will be flushed.
ⓘImportant traits for PerOriginFlusher<'a, S>pub fn origin_sheets<'b>(
&'b mut self,
origin: Origin
) -> PerOriginFlusher<'b, S> where
'a: 'b,
[src]
ⓘImportant traits for PerOriginFlusher<'a, S>
&'b mut self,
origin: Origin
) -> PerOriginFlusher<'b, S> where
'a: 'b,
Returns a flusher for the dirty origin origin
.
pub fn nothing_to_do(&self) -> bool
[src]
Returns whether running the whole flushing process would be a no-op.
pub fn had_invalidations(&self) -> bool
[src]
Returns whether any DOM invalidations were processed as a result of the stylesheet flush.