[][src]Struct xml_tokens::NCName

pub struct NCName { /* fields omitted */ }

An NCName is contained by the Token::NamespacePrefix variant.

See the "Namespaces in XML 1.1" specification for details.

Methods

impl NCName[src]

pub fn get_as_str(&self) -> &str[src]

Returns the data as a &str.

Trait Implementations

impl PartialEq<NCName> for NCName[src]

impl Debug for NCName[src]

Auto Trait Implementations

impl Send for NCName

impl Unpin for NCName

impl Sync for NCName

impl UnwindSafe for NCName

impl RefUnwindSafe for NCName

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]