ella_tensor

Trait Frame

Source
pub trait Frame {
    // Required methods
    fn ncols(&self) -> usize;
    fn nrows(&self) -> usize;
    fn column(&self, i: usize) -> &NamedColumn;

    // Provided method
    fn columns(&self) -> FrameColIter<'_, Self> { ... }
}

Required Methods§

Source

fn ncols(&self) -> usize

Source

fn nrows(&self) -> usize

Source

fn column(&self, i: usize) -> &NamedColumn

Provided Methods§

Source

fn columns(&self) -> FrameColIter<'_, Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<'a, F: Frame> Frame for &'a F

Source§

fn ncols(&self) -> usize

Source§

fn nrows(&self) -> usize

Source§

fn column(&self, i: usize) -> &NamedColumn

Implementors§