[][src]Trait rcut::ProcessRcut

pub trait ProcessRcut<C, P: ProcessLine<C>> {
    fn process_lines<R: Read, W: Write>(
        &self,
        line_processor: &P,
        input: BufReader<R>,
        output: &mut BufWriter<W>,
        context: &C
    ) { ... }
fn process_readable<R: Read, W: Write>(
        &self,
        line_processor: &P,
        input: BufReader<R>,
        output: &mut BufWriter<W>,
        context: &C
    ) { ... }
fn process_files<W: Write>(
        &self,
        line_processor: &P,
        files: &Vec<&str>,
        writable: W,
        context: &C
    ) { ... }
fn process(&self, line_processor: &P, files: &Vec<&str>, context: &C) { ... } }

Provided methods

fn process_lines<R: Read, W: Write>(
    &self,
    line_processor: &P,
    input: BufReader<R>,
    output: &mut BufWriter<W>,
    context: &C
)

Generic line processor that delegates to concrete line processors

fn process_readable<R: Read, W: Write>(
    &self,
    line_processor: &P,
    input: BufReader<R>,
    output: &mut BufWriter<W>,
    context: &C
)

Process readable object: Send it via rcut pipeline

fn process_files<W: Write>(
    &self,
    line_processor: &P,
    files: &Vec<&str>,
    writable: W,
    context: &C
)

Process files: Send them via rcut pipeline

fn process(&self, line_processor: &P, files: &Vec<&str>, context: &C)

Cut and paste lines by ranges of characters

Loading content...

Implementors

impl<C: CharContextT, P: ProcessLine<C>> ProcessRcut<C, P> for CharProcessor[src]

impl<C: FieldContextT, P: ProcessLine<C>> ProcessRcut<C, P> for FieldProcessor[src]

Loading content...