pub struct Selection { /* private fields */ }Expand description
A selection of column indices.
Implementations§
Source§impl Selection
impl Selection
pub fn full(len: usize) -> Self
pub fn without(i: usize, len: usize) -> Self
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn select<'a, 'b, T: 'b + ?Sized>(
&'a self,
row: &'b impl Index<usize, Output = T>,
) -> impl Iterator<Item = &'b T>where
'a: 'b,
pub fn iter(&self) -> Copied<Iter<'_, usize>> ⓘ
pub fn indexed_mask(&self) -> Vec<Option<usize>>
pub fn mask(&self) -> Vec<bool>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Selection
impl RefUnwindSafe for Selection
impl Send for Selection
impl Sync for Selection
impl Unpin for Selection
impl UnsafeUnpin for Selection
impl UnwindSafe for Selection
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