[−][src]Trait rdcl_aoc_helpers::input::WithAsMultilineRecords
This trait allows you to easily convert an object to a vec of items of the required type.
Required methods
pub fn as_multiline_records<T: MultilineFromStr>(
&self
) -> Result<Vec<T>, <T as MultilineFromStr>::Err>
[src]
&self
) -> Result<Vec<T>, <T as MultilineFromStr>::Err>
Convert to a list of records of the requested type.
Implementations on Foreign Types
impl<'a> WithAsMultilineRecords for Vec<&'a str>
[src]
pub fn as_multiline_records<T: MultilineFromStr>(
&self
) -> Result<Vec<T>, <T as MultilineFromStr>::Err>
[src]
&self
) -> Result<Vec<T>, <T as MultilineFromStr>::Err>