pub struct CharProcessor {}
Trait Implementations§
Source§impl<C: CharContextT, P: LineProcessorT<C>> RtoolT<C, P> for CharProcessor
impl<C: CharContextT, P: LineProcessorT<C>> RtoolT<C, P> for CharProcessor
Source§fn process_lines<R, W>(
&self,
line_processor: &P,
input: BufReader<R>,
output: &mut BufWriter<W>,
context: &C,
)
fn process_lines<R, W>( &self, line_processor: &P, input: BufReader<R>, output: &mut BufWriter<W>, context: &C, )
Generic line processor that delegates to concrete line processors
Source§fn process_readable<R, W>(
&self,
line_processor: &P,
input: BufReader<R>,
output: &mut BufWriter<W>,
context: &C,
)
fn process_readable<R, W>( &self, line_processor: &P, input: BufReader<R>, output: &mut BufWriter<W>, context: &C, )
Process readable object: Send input to the line processor
Source§fn process_files<W>(
&self,
line_processor: &P,
files: &Vec<&str>,
writable: W,
context: &C,
)where
W: Write,
fn process_files<W>(
&self,
line_processor: &P,
files: &Vec<&str>,
writable: W,
context: &C,
)where
W: Write,
Process files: Send them to the line processor
Auto Trait Implementations§
impl Freeze for CharProcessor
impl RefUnwindSafe for CharProcessor
impl Send for CharProcessor
impl Sync for CharProcessor
impl Unpin for CharProcessor
impl UnwindSafe for CharProcessor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more