Function iterative_methods::item_to_file[][src]

pub fn item_to_file<I, T, F>(
    it: I,
    write_function: F,
    file_path: String
) -> Result<ToFileIterable<I, F>, Error> where
    I: Sized + StreamingIterator<Item = T>,
    T: Debug,
    F: FnMut(&T, &mut File) -> Result<()>, 
Expand description

An adaptor that writes each item to a new line of a file.