[][src]Struct xml_tokens::QName

pub struct QName { /* fields omitted */ }

An XML QName is contained by the Token::ElementStart, Token::ElementEnd and Token::AttributeName variants.

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

Methods

impl QName[src]

pub fn get_prefix_as_str(&self) -> Option<&str>[src]

Returns the qname prefix as a &str.

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

Returns the qname local_part as a &str.

Trait Implementations

impl PartialEq<QName> for QName[src]

impl Debug for QName[src]

Auto Trait Implementations

impl Send for QName

impl Sync for QName

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto 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 for T where
    T: ?Sized
[src]

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

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