Struct css::domain::atRules::namespace::NamespaceAtRule [] [src]

pub struct NamespaceAtRule {
    pub prefix: Option<NamespacePrefix>,
    pub url: NamespaceUrl,
}

A @namespace rule.

Fields

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

The actual namespace url.

Trait Implementations

impl Clone for NamespaceAtRule
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for NamespaceAtRule
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for NamespaceAtRule
[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 ToCss for NamespaceAtRule
[src]

[src]

Serialize self in CSS syntax, writing to dest.

[src]

Serialize self in CSS syntax and return a string. Read more