Struct bstring::bfmt::Parser [] [src]

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

Parses a &bstr format string into a series of Item components.

Methods

impl<'a> Parser<'a>
[src]

Creates a new parser for the given format string.

Returns the next item of the format string.

If an error is encountered, it is returned.

When the end of the format string is reached, Ok(Item::End) is returned.

Trait Implementations

impl<'a> Clone for Parser<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more