pub struct MacTableViewResponse {
pub response: Response,
pub clicked_header: Option<usize>,
pub toggled_sort: Option<(usize, MacSortDirection)>,
pub clicked_row: Option<usize>,
pub double_clicked_row: Option<usize>,
pub selection_changed: bool,
}Expand description
Output returned by MacTableView::show.
Fields§
§response: ResponseOverall widget interaction response.
clicked_header: Option<usize>Index of a column header clicked during this frame, if any.
toggled_sort: Option<(usize, MacSortDirection)>Toggled sort direction for the clicked header, if any.
clicked_row: Option<usize>Index of the row clicked during this frame, if any.
double_clicked_row: Option<usize>Index of the row double-clicked or activated via Key::Enter during this frame, if any.
selection_changed: boolTrue if the row selection set changed during this frame.
Trait Implementations§
Source§impl Clone for MacTableViewResponse
impl Clone for MacTableViewResponse
Auto Trait Implementations§
impl !RefUnwindSafe for MacTableViewResponse
impl !UnwindSafe for MacTableViewResponse
impl Forget for MacTableViewResponse
impl Freeze for MacTableViewResponse
impl Send for MacTableViewResponse
impl Sync for MacTableViewResponse
impl Unpin for MacTableViewResponse
impl UnsafeUnpin for MacTableViewResponse
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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