pub struct NoSelection;Expand description
Doesn’t do any selection for the table.
But it implements scrolling via mouse and keyboard.
Trait Implementations§
Source§impl Clone for NoSelection
impl Clone for NoSelection
Source§impl Debug for NoSelection
impl Debug for NoSelection
Source§impl Default for NoSelection
impl Default for NoSelection
Source§impl TableSelection for NoSelection
impl TableSelection for NoSelection
Source§fn is_selected_row(&self, _row: usize) -> bool
fn is_selected_row(&self, _row: usize) -> bool
Row is selected. This can be separate from
is_selected_cell.Source§fn is_selected_column(&self, _column: usize) -> bool
fn is_selected_column(&self, _column: usize) -> bool
Column is selected. This can be separate from
is_selected_cell.Source§fn lead_selection(&self) -> Option<(usize, usize)>
fn lead_selection(&self) -> Option<(usize, usize)>
Selection lead, or the sole selected index.
Source§fn validate_rows(&mut self, _rows: usize)
fn validate_rows(&mut self, _rows: usize)
Validate the selected row against the number of rows.
Source§fn validate_cols(&mut self, _cols: usize)
fn validate_cols(&mut self, _cols: usize)
Validate the selected column against the number of columns.
Source§fn items_added(&mut self, _pos: usize, _n: usize)
fn items_added(&mut self, _pos: usize, _n: usize)
Correct the selection for added items.
Auto Trait Implementations§
impl Forget for NoSelection
impl Freeze for NoSelection
impl RefUnwindSafe for NoSelection
impl Send for NoSelection
impl Sync for NoSelection
impl Unpin for NoSelection
impl UnsafeUnpin for NoSelection
impl UnwindSafe for NoSelection
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