Struct style::stylesheets::NamespaceRule [] [src]

pub struct NamespaceRule {
    pub prefix: Option<Prefix>,
    pub url: Namespace,
    pub source_location: SourceLocation,
}

A @namespace rule.

Fields

The namespace prefix, and None if it's the default Namespace

The actual namespace url.

The source location this rule was found at.

Trait Implementations

impl Clone for NamespaceRule
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for NamespaceRule
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for NamespaceRule
[src]

[src]

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

[src]

This method tests for !=.

impl ToCssWithGuard for NamespaceRule
[src]

[src]

Serialize self in CSS syntax, writing to dest, using the given lock guard.

[src]

Serialize self in CSS syntax using the given lock guard and return a string. Read more