[][src]Struct puruda::Col2

pub struct Col2<T1, T2> where
    T1: Column,
    T2: Column
{ /* fields omitted */ }

Implementations

impl<T1, T2> Col2<T1, T2> where
    T1: Column + Default,
    T2: Column + Default
[src]

pub fn new() -> Self[src]

pub fn set_header(&mut self, header: Vec<&'static str>)[src]

pub fn header(&self) -> &Vec<&'static str>[src]

pub fn from_cols(col_1: T1, col_2: T2) -> Self[src]

pub fn c1(&self) -> &T1[src]

pub fn c1_mut(&mut self) -> &mut T1[src]

pub fn c2(&self) -> &T2[src]

pub fn c2_mut(&mut self) -> &mut T2[src]

Trait Implementations

impl<T1, T2> CSV for Col2<T1, T2> where
    T1: Column + Default,
    T2: Column + Default,
    T1::DType: ToString + FromStr,
    T2::DType: ToString + FromStr,
    <T1::DType as FromStr>::Err: Debug + Error,
    <T2::DType as FromStr>::Err: Debug + Error,
    Vec<T1::DType>: Into<T1>,
    Vec<T2::DType>: Into<T2>, 
[src]

impl<T1: Clone, T2: Clone> Clone for Col2<T1, T2> where
    T1: Column,
    T2: Column
[src]

impl<T1: Debug, T2: Debug> Debug for Col2<T1, T2> where
    T1: Column,
    T2: Column
[src]

Auto Trait Implementations

impl<T1, T2> RefUnwindSafe for Col2<T1, T2> where
    T1: RefUnwindSafe,
    T2: RefUnwindSafe

impl<T1, T2> Send for Col2<T1, T2> where
    T1: Send,
    T2: Send

impl<T1, T2> Sync for Col2<T1, T2> where
    T1: Sync,
    T2: Sync

impl<T1, T2> Unpin for Col2<T1, T2> where
    T1: Unpin,
    T2: Unpin

impl<T1, T2> UnwindSafe for Col2<T1, T2> where
    T1: UnwindSafe,
    T2: UnwindSafe

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

impl<T, U> Into<U> 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, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.