[][src]Struct reader_for_microxml::ReaderForMicroXml

pub struct ReaderForMicroXml<'a> { /* fields omitted */ }

struct Reader for MicroXml - the Class
Rust has Structs + Traits, but for me it is just like Class/Object.
Just without inheritance.
All the fields are internal and not public.
The only way to interact is through methods.

Methods

impl<'a, '_> ReaderForMicroXml<'_>[src]

pub fn new(input: &str) -> ReaderForMicroXml[src]

Constructor. String is immutably borrowed here. No allocation.

pub fn read_event(&mut self) -> Event[src]

Reads the next event: StartElement, Attribute, Text, EndElement
If the Option None (Eof) has propagated till here, this is an Error.

Auto Trait Implementations

impl<'a> RefUnwindSafe for ReaderForMicroXml<'a>

impl<'a> Send for ReaderForMicroXml<'a>

impl<'a> Sync for ReaderForMicroXml<'a>

impl<'a> Unpin for ReaderForMicroXml<'a>

impl<'a> UnwindSafe for ReaderForMicroXml<'a>

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.