[−][src]Trait rdcl_aoc_helpers::input::MultilineFromStr
Inspired by std::str::FromStr
, so you can read input files where a record spans multiple
lines.
Associated Types
Loading content...Required methods
pub fn new() -> Self
[src]
Create a new initial record.
pub fn indicates_new_record(&self, line: &str) -> bool
[src]
Test for whether a line indicates that a new record starts.
pub fn parse(&mut self, line: &str) -> Result<(), Self::Err>
[src]
Parses a line.