[][src]Struct tyd::Parser

pub struct Parser<T: Clone> { /* fields omitted */ }

Implementations

impl<T: Clone> Parser<T>[src]

pub fn new(f: Rc<HandleLine<T>>) -> Self[src]

pub fn parse<'a>(&mut self, data: &'a str) -> Lines<'a>[src]

pub fn iter<'a>(&mut self, data: &'a str) -> TydIterator<'a, T>

Notable traits for TydIterator<'a, T>

impl<'a, T: Clone + Debug> Iterator for TydIterator<'a, T> type Item = (Line<T>, &'a str);
[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for Parser<T>[src]

impl<T> !Send for Parser<T>[src]

impl<T> !Sync for Parser<T>[src]

impl<T> Unpin for Parser<T>[src]

impl<T> !UnwindSafe for Parser<T>[src]

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.