[−][src]Struct reader_for_microxml::ReaderForMicroXml
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,