Struct string_cache::namespace::Namespace [] [src]

pub struct Namespace(pub Atom);

An atom that is meant to represent a namespace in the HTML / XML sense. Whether a given string represents a namespace is contextual, so this is a transparent wrapper that will not catch all mistakes.

Trait Implementations

impl PartialEq for Namespace
[src]

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

This method tests for !=.

impl Eq for Namespace
[src]

impl PartialOrd for Namespace
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for Namespace
[src]

This method returns an Ordering between self and other. Read more

impl Hash for Namespace
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Debug for Namespace
[src]

Formats the value using the given formatter.

impl Clone for Namespace
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Namespace
[src]

Returns the "default value" for a type. Read more

impl Display for Namespace
[src]

Formats the value using the given formatter.