[−][src]Struct romulus::Interpreter
The interpreter which processes lines with a romulus program
Methods
impl Interpreter[src]
pub fn new<S: AsRef<str>>(buf: S, sep: Regex) -> Result<Interpreter, String>[src]
Creates a new interpreter with a string romulus program
pub fn file<P: AsRef<Path>>(file: P, sep: Regex) -> Result<Interpreter, String>[src]
Creates a new interpreter with a the contents of a file
pub fn process<R: BufRead, W: Write>(&self, sin: &mut R, sout: &mut W)[src]
Process an input stream and writes the results for it's romulus program to the output stream
Auto Trait Implementations
impl Sync for Interpreter
impl Send for Interpreter
impl Unpin for Interpreter
impl !RefUnwindSafe for Interpreter
impl UnwindSafe for Interpreter
Blanket Implementations
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>,
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> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,