[][src]Trait tubular::ColumnType

pub trait ColumnType {
    fn to_column(t: Vec<Self>) -> Column
    where
        Self: Sized
; }

Ergonomically convert Vec<T> to Column

While you don't need to know about the implementation details of this trait, you should become familiar with the types that implement it below. You can create a new column from any of them using the push() method.

Required methods

fn to_column(t: Vec<Self>) -> Column where
    Self: Sized

Loading content...

Implementations on Foreign Types

impl ColumnType for u32[src]

impl<'_> ColumnType for &'_ u32[src]

impl ColumnType for Option<u32>[src]

impl<'_> ColumnType for Option<&'_ u32>[src]

impl<'_> ColumnType for &'_ Option<u32>[src]

impl ColumnType for i32[src]

impl<'_> ColumnType for &'_ i32[src]

impl ColumnType for Option<i32>[src]

impl<'_> ColumnType for Option<&'_ i32>[src]

impl<'_> ColumnType for &'_ Option<i32>[src]

impl ColumnType for f32[src]

impl<'_> ColumnType for &'_ f32[src]

impl ColumnType for Option<f32>[src]

impl<'_> ColumnType for Option<&'_ f32>[src]

impl<'_> ColumnType for &'_ Option<f32>[src]

impl ColumnType for bool[src]

impl<'_> ColumnType for &'_ bool[src]

impl ColumnType for Option<bool>[src]

impl<'_> ColumnType for Option<&'_ bool>[src]

impl<'_> ColumnType for &'_ Option<bool>[src]

impl ColumnType for String[src]

impl<'_> ColumnType for &'_ String[src]

impl ColumnType for Option<String>[src]

impl<'_> ColumnType for Option<&'_ String>[src]

impl<'_> ColumnType for &'_ Option<String>[src]

impl<'_> ColumnType for &'_ str[src]

impl<'_, '_> ColumnType for &'_ &'_ str[src]

Loading content...

Implementors

Loading content...