pub struct TableView<'a> { /* private fields */ }
Implementations§
Source§impl<'a> TableView<'a>
impl<'a> TableView<'a>
pub fn columns(&self) -> &Vec<TableColumnView<'a>>
pub fn view_columns(&self, column_indexes: &[usize]) -> TableView<'_>
pub fn ncols(&self) -> usize
pub fn nrows(&self) -> usize
pub fn view(&self) -> TableView<'_>
pub fn read_row(&self, index: usize, row: &mut [TableValue<'a>])
pub fn split_at_row(&self, index: usize) -> (TableView<'a>, TableView<'a>)
pub fn to_rows_f32(&self) -> Option<Array2<f32>>
pub fn to_rows(&self) -> Array2<TableValue<'a>>
Trait Implementations§
impl<'a> StructuralPartialEq for TableView<'a>
Auto Trait Implementations§
impl<'a> Freeze for TableView<'a>
impl<'a> RefUnwindSafe for TableView<'a>
impl<'a> Send for TableView<'a>
impl<'a> Sync for TableView<'a>
impl<'a> Unpin for TableView<'a>
impl<'a> UnwindSafe for TableView<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more