Struct style::stylesheets::DocumentStyleSheet [] [src]

pub struct DocumentStyleSheet(pub Arc<Stylesheet>);

A simple wrapper over an Arc<Stylesheet>, with pointer comparison, and suitable for its use in a StylesheetSet.

Trait Implementations

impl Clone for DocumentStyleSheet
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl MallocSizeOf for DocumentStyleSheet
[src]

[src]

Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more

impl PartialEq for DocumentStyleSheet
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl ToMediaListKey for DocumentStyleSheet
[src]

[src]

Get a MediaListKey for this item. This key needs to uniquely identify the item. Read more

impl StylesheetInDocument for DocumentStyleSheet
[src]

[src]

Get the contents of this stylesheet.

[src]

Get the media associated with this stylesheet.

[src]

Get whether this stylesheet is enabled.

[src]

Get the stylesheet origin.

[src]

Get the stylesheet quirks mode.

[src]

Returns whether the style-sheet applies for the current device.

Important traits for RulesIterator<'a, 'b, C>
[src]

Return an iterator using the condition C.

Important traits for RulesIterator<'a, 'b, C>
[src]

Return an iterator over the effective rules within the style-sheet, as according to the supplied Device. Read more

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]