Struct style::stylesheets::import_rule::ImportSheet
[−]
[src]
pub struct ImportSheet(pub Arc<Stylesheet>);
A sheet that is held from an import rule.
Trait Implementations
impl Debug for ImportSheet
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl StylesheetInDocument for ImportSheet
[src]
fn media<'a>(
&'a self,
guard: &'a SharedRwLockReadGuard
) -> Option<&'a MediaList>
[src]
&'a self,
guard: &'a SharedRwLockReadGuard
) -> Option<&'a MediaList>
Get the media associated with this stylesheet.
fn contents(&self, guard: &SharedRwLockReadGuard) -> &StylesheetContents
[src]
Get the contents of this stylesheet.
fn enabled(&self) -> bool
[src]
Get whether this stylesheet is enabled.
fn origin(&self, guard: &SharedRwLockReadGuard) -> Origin
[src]
Get the stylesheet origin.
fn quirks_mode(&self, guard: &SharedRwLockReadGuard) -> QuirksMode
[src]
Get the stylesheet quirks mode.
fn is_effective_for_device(
&self,
device: &Device,
guard: &SharedRwLockReadGuard
) -> bool
[src]
&self,
device: &Device,
guard: &SharedRwLockReadGuard
) -> bool
Returns whether the style-sheet applies for the current device.
ⓘImportant traits for RulesIterator<'a, 'b, C>fn iter_rules<'a, 'b, C>(
&'a self,
device: &'a Device,
guard: &'a SharedRwLockReadGuard<'b>
) -> RulesIterator<'a, 'b, C> where
C: NestedRuleIterationCondition,
[src]
ⓘImportant traits for RulesIterator<'a, 'b, C>
&'a self,
device: &'a Device,
guard: &'a SharedRwLockReadGuard<'b>
) -> RulesIterator<'a, 'b, C> where
C: NestedRuleIterationCondition,
Return an iterator using the condition C
.
ⓘImportant traits for RulesIterator<'a, 'b, C>fn effective_rules<'a, 'b>(
&'a self,
device: &'a Device,
guard: &'a SharedRwLockReadGuard<'b>
) -> RulesIterator<'a, 'b, EffectiveRules>
[src]
ⓘImportant traits for RulesIterator<'a, 'b, C>
&'a self,
device: &'a Device,
guard: &'a SharedRwLockReadGuard<'b>
) -> RulesIterator<'a, 'b, EffectiveRules>
Return an iterator over the effective rules within the style-sheet, as according to the supplied Device
. Read more
fn effective_style_rules<F>(
&self,
device: &Device,
guard: &SharedRwLockReadGuard,
f: F
) where
F: FnMut(&StyleRule),
[src]
&self,
device: &Device,
guard: &SharedRwLockReadGuard,
f: F
) where
F: FnMut(&StyleRule),
fn effective_media_rules<F>(
&self,
device: &Device,
guard: &SharedRwLockReadGuard,
f: F
) where
F: FnMut(&MediaRule),
[src]
&self,
device: &Device,
guard: &SharedRwLockReadGuard,
f: F
) where
F: FnMut(&MediaRule),
fn effective_font_face_rules<F>(
&self,
device: &Device,
guard: &SharedRwLockReadGuard,
f: F
) where
F: FnMut(&FontFaceRule),
[src]
&self,
device: &Device,
guard: &SharedRwLockReadGuard,
f: F
) where
F: FnMut(&FontFaceRule),
fn effective_font_face_feature_values_rules<F>(
&self,
device: &Device,
guard: &SharedRwLockReadGuard,
f: F
) where
F: FnMut(&FontFeatureValuesRule),
[src]
&self,
device: &Device,
guard: &SharedRwLockReadGuard,
f: F
) where
F: FnMut(&FontFeatureValuesRule),
fn effective_counter_style_rules<F>(
&self,
device: &Device,
guard: &SharedRwLockReadGuard,
f: F
) where
F: FnMut(&CounterStyleRule),
[src]
&self,
device: &Device,
guard: &SharedRwLockReadGuard,
f: F
) where
F: FnMut(&CounterStyleRule),
fn effective_viewport_rules<F>(
&self,
device: &Device,
guard: &SharedRwLockReadGuard,
f: F
) where
F: FnMut(&ViewportRule),
[src]
&self,
device: &Device,
guard: &SharedRwLockReadGuard,
f: F
) where
F: FnMut(&ViewportRule),
fn effective_keyframes_rules<F>(
&self,
device: &Device,
guard: &SharedRwLockReadGuard,
f: F
) where
F: FnMut(&KeyframesRule),
[src]
&self,
device: &Device,
guard: &SharedRwLockReadGuard,
f: F
) where
F: FnMut(&KeyframesRule),
fn effective_supports_rules<F>(
&self,
device: &Device,
guard: &SharedRwLockReadGuard,
f: F
) where
F: FnMut(&SupportsRule),
[src]
&self,
device: &Device,
guard: &SharedRwLockReadGuard,
f: F
) where
F: FnMut(&SupportsRule),
fn effective_page_rules<F>(
&self,
device: &Device,
guard: &SharedRwLockReadGuard,
f: F
) where
F: FnMut(&PageRule),
[src]
&self,
device: &Device,
guard: &SharedRwLockReadGuard,
f: F
) where
F: FnMut(&PageRule),
fn effective_document_rules<F>(
&self,
device: &Device,
guard: &SharedRwLockReadGuard,
f: F
) where
F: FnMut(&DocumentRule),
[src]
&self,
device: &Device,
guard: &SharedRwLockReadGuard,
f: F
) where
F: FnMut(&DocumentRule),
impl DeepCloneWithLock for ImportSheet
[src]
fn deep_clone_with_lock(
&self,
_lock: &SharedRwLock,
_guard: &SharedRwLockReadGuard,
_params: &DeepCloneParams
) -> Self
[src]
&self,
_lock: &SharedRwLock,
_guard: &SharedRwLockReadGuard,
_params: &DeepCloneParams
) -> Self
Deep clones this object.