Struct style::stylesheets::Namespaces
[−]
[src]
pub struct Namespaces { pub default: Option<(Namespace, NamespaceId)>, pub prefixes: FnvHashMap<Prefix, (Namespace, NamespaceId)>, }
A set of namespaces applying to a given stylesheet.
The namespace id is used in gecko
Fields
default: Option<(Namespace, NamespaceId)>
prefixes: FnvHashMap<Prefix, (Namespace, NamespaceId)>
Trait Implementations
impl Clone for Namespaces
[src]
fn clone(&self) -> Namespaces
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Namespaces
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Default for Namespaces
[src]
fn default() -> Namespaces
[src]
Returns the "default value" for a type. Read more
impl MallocSizeOf for Namespaces
[src]
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
[src]
Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more