[−][src]Trait rdcl_aoc_helpers::input::WithReadLines
This trait allows you to easily read lines from a Readable object.
Required methods
pub fn read_lines<T: FromStr>(self, exit_code_on_fail: i32) -> MappedLines<T, R>ⓘNotable traits for MappedLines<T, R>
impl<T: FromStr, R: Read> Iterator for MappedLines<T, R> where
<T as FromStr>::Err: Debug, type Item = T;
[src]
Notable traits for MappedLines<T, R>
impl<T: FromStr, R: Read> Iterator for MappedLines<T, R> where
<T as FromStr>::Err: Debug, type Item = T;
Read lines from a given Readable object, and parse each line to the requested type.
Implementations on Foreign Types
impl WithReadLines<File> for File
[src]
pub fn read_lines<T: FromStr>(
self,
exit_code_on_fail: i32
) -> MappedLines<T, File>ⓘNotable traits for MappedLines<T, R>
impl<T: FromStr, R: Read> Iterator for MappedLines<T, R> where
<T as FromStr>::Err: Debug, type Item = T;
[src]
self,
exit_code_on_fail: i32
) -> MappedLines<T, File>ⓘ
Notable traits for MappedLines<T, R>
impl<T: FromStr, R: Read> Iterator for MappedLines<T, R> where
<T as FromStr>::Err: Debug, type Item = T;
impl WithReadLines<File> for Result<File>
[src]
pub fn read_lines<T: FromStr>(
self,
exit_code_on_fail: i32
) -> MappedLines<T, File>ⓘNotable traits for MappedLines<T, R>
impl<T: FromStr, R: Read> Iterator for MappedLines<T, R> where
<T as FromStr>::Err: Debug, type Item = T;
[src]
self,
exit_code_on_fail: i32
) -> MappedLines<T, File>ⓘ
Notable traits for MappedLines<T, R>
impl<T: FromStr, R: Read> Iterator for MappedLines<T, R> where
<T as FromStr>::Err: Debug, type Item = T;