pub struct ListResponse {
pub response: Response,
pub clicked: Option<usize>,
pub double_clicked: Option<usize>,
pub secondary_clicked: Option<usize>,
pub select: Option<usize>,
pub activated: Option<usize>,
pub visible: Range<usize>,
}Expand description
What the list reports this frame.
Fields§
§response: ResponseThe list’s viewport.
clicked: Option<usize>Row clicked with the pointer.
double_clicked: Option<usize>§secondary_clicked: Option<usize>§select: Option<usize>Row the user moved the selection to (click or keyboard).
activated: Option<usize>Enter (or a double click) on the selected row.
visible: Range<usize>Rows laid out this frame.
Auto Trait Implementations§
impl !RefUnwindSafe for ListResponse
impl !UnwindSafe for ListResponse
impl Forget for ListResponse
impl Freeze for ListResponse
impl Move for ListResponse
impl Send for ListResponse
impl Sync for ListResponse
impl Unpin for ListResponse
impl UnsafeUnpin for ListResponse
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> 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