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

Derived Implementations

impl Clone for Namespace

fn clone(&self) -> Namespace

1.0.0fn clone_from(&mut self, source: &Self)

impl Debug for Namespace

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Hash for Namespace

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

1.3.0fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Ord for Namespace

fn cmp(&self, __arg_0: &Namespace) -> Ordering

impl PartialOrd for Namespace

fn partial_cmp(&self, __arg_0: &Namespace) -> Option<Ordering>

fn lt(&self, __arg_0: &Namespace) -> bool

fn le(&self, __arg_0: &Namespace) -> bool

fn gt(&self, __arg_0: &Namespace) -> bool

fn ge(&self, __arg_0: &Namespace) -> bool

impl Eq for Namespace

impl PartialEq for Namespace

fn eq(&self, __arg_0: &Namespace) -> bool

fn ne(&self, __arg_0: &Namespace) -> bool