[][src]Trait puruda::Column

pub trait Column {
    type DType;
    fn row(&self) -> usize;
fn idx(&self, n: usize) -> &Self::DType;
fn idx_mut(&mut self, n: usize) -> &mut Self::DType;
fn to_vec(&self) -> &Vec<Self::DType>; }

Associated Types

type DType

Loading content...

Required methods

fn row(&self) -> usize

fn idx(&self, n: usize) -> &Self::DType

fn idx_mut(&mut self, n: usize) -> &mut Self::DType

fn to_vec(&self) -> &Vec<Self::DType>

Loading content...

Trait Implementations

impl<T> Index<usize> for dyn Column<DType = T>[src]

type Output = T

The returned type after indexing.

impl<T> IndexMut<usize> for dyn Column<DType = T>[src]

Implementations on Foreign Types

impl Column for Vec<bool>[src]

type DType = bool

impl Column for Vec<u32>[src]

type DType = u32

impl Column for Vec<u64>[src]

type DType = u64

impl Column for Vec<usize>[src]

type DType = usize

impl Column for Vec<i32>[src]

type DType = i32

impl Column for Vec<i64>[src]

type DType = i64

impl Column for Vec<isize>[src]

type DType = isize

impl Column for Vec<f32>[src]

type DType = f32

impl Column for Vec<f64>[src]

type DType = f64

impl Column for Vec<String>[src]

type DType = String

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

type DType = &'a str

Loading content...

Implementors

Loading content...