pub enum Target {
Show 13 variants
Heading,
Box,
Indicator,
Name,
Row,
Pane,
Help,
Answer,
Question,
Prompt,
Away,
Notice,
Elsewhere,
}Expand description
What a gesture landed on, as the table names it — a Spot with the identity taken out.
The identity is what the action needs and what the table must not carry: a row of
[POINTER] says “a click on a name selects”, and which directory is a fact about the
press rather than about the rule.
Variants§
Heading
A column heading.
Box
A row’s mark box.
Indicator
A row’s expand indicator.
Name
A row’s name, and the space around it.
Row
A row, whichever part of it — what a gesture that is not a click aims at.
Pane
The tree pane, past its last row.
Help
The help overlay.
Answer
One of a confirmation’s two answers.
Question
A confirmation, off both of its answers.
Prompt
The filter prompt.
Away
Outside whichever overlay is up.
Notice
The footer, while it is saying what just happened.
Elsewhere
Chrome, or a frame with nothing on it.
Implementations§
Trait Implementations§
impl Copy for Target
impl Eq for Target
impl StructuralPartialEq for Target
Auto Trait Implementations§
impl Freeze for Target
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnsafeUnpin for Target
impl UnwindSafe for Target
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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