[][src]Struct data_reader::reader::ReaderResults

pub struct ReaderResults<T: FromStr> {
    pub num_fields: usize,
    pub num_lines: usize,
    pub results: Vec<T>,
}

A structure that contains all of the results. It tells us the number of fields we had along with the number of lines that we read. Finally, the results are stored in a single Vec of type T. Type T is what type one called load_txt_* for.

Fields

num_fields: usizenum_lines: usizeresults: Vec<T>

Trait Implementations

impl<T: Clone + FromStr> Clone for ReaderResults<T>[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Debug + FromStr> Debug for ReaderResults<T>[src]

Auto Trait Implementations

impl<T> Send for ReaderResults<T> where
    T: Send

impl<T> Sync for ReaderResults<T> where
    T: Sync

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.