[−][src]Struct ssccpp::Parser
The struct implementing the actual logic.
See crate-level doc for typcial usage.
Methods
impl Parser
[src]
pub fn new(ident: &str, delimiter: &str) -> Result<Parser, Error>
[src]
Build a new parser, with ident
as identifier, and delimiter
as delimiter.
pub fn process<I, O>(&self, input: I, output: &mut O) -> Result<(), IoError> where
I: BufRead,
O: Write,
[src]
I: BufRead,
O: Write,
Process an input
(which should implement BufRead
) and writes the corresponding result in
output
.
Trait Implementations
Auto Trait Implementations
impl Sync for Parser
impl Unpin for Parser
impl Send for Parser
impl UnwindSafe for Parser
impl !RefUnwindSafe for Parser
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,