Struct rat_widget::table::selection::NoSelection
source · 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§fn clone(&self) -> NoSelection
fn clone(&self) -> NoSelection
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for NoSelection
impl Debug for NoSelection
source§impl Default for NoSelection
impl Default for NoSelection
source§fn default() -> NoSelection
fn default() -> NoSelection
Returns the “default value” for a type. Read more
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 scroll_selected(&self) -> bool
fn scroll_selected(&self) -> bool
Should scroll be in terms of the selection or in terms of the offset.
Auto Trait Implementations§
impl Freeze for NoSelection
impl RefUnwindSafe for NoSelection
impl Send for NoSelection
impl Sync for NoSelection
impl Unpin 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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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