[][src]Trait rdcl_aoc_helpers::input::WithAsMultilineRecords

pub trait WithAsMultilineRecords {
    pub fn as_multiline_records<T: MultilineFromStr>(
        &self
    ) -> Result<Vec<T>, <T as MultilineFromStr>::Err>; }

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]

Convert to a list of records of the requested type.

Loading content...

Implementations on Foreign Types

impl<'a> WithAsMultilineRecords for Vec<&'a str>[src]

Loading content...

Implementors

Loading content...