[][src]Enum trashy_xml::XmlKind

pub enum XmlKind {
    Comment(String),
    Attribute(StringString),
    InnerText(String),
    OpenElement(Stringusize),
    CloseElement(String),
}

Variants

Comment(String)
Attribute(StringString)
InnerText(String)
OpenElement(Stringusize)
CloseElement(String)

Methods

impl XmlKind[src]

pub fn is_comment(&self) -> bool[src]

pub fn is_attribute(&self) -> bool[src]

pub fn is_inner_text(&self) -> bool[src]

pub fn is_open_element(&self) -> bool[src]

pub fn is_close_element(&self) -> bool[src]

Trait Implementations

impl Debug for XmlKind[src]

impl PartialEq<XmlKind> for XmlKind[src]

impl StructuralPartialEq for XmlKind[src]

Auto Trait Implementations

impl RefUnwindSafe for XmlKind

impl Send for XmlKind

impl Sync for XmlKind

impl Unpin for XmlKind

impl UnwindSafe for XmlKind

Blanket Implementations

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

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

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

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.