pub struct ActionTarget {
pub kind: TargetKind,
pub index: usize,
pub label: String,
pub value: String,
}Expand description
The thing an action is about to be done to.
Fields§
§kind: TargetKind§index: usizeThe item’s index in the view’s items.
label: StringIts label, as shown.
value: StringWhat identifies it: an item’s label, a row’s cells joined by tabs, a
node’s path of labels joined by /, a file’s path (with bytes that
are not UTF-8 as \xNN).
Trait Implementations§
Source§impl Clone for ActionTarget
impl Clone for ActionTarget
Source§impl Debug for ActionTarget
impl Debug for ActionTarget
impl Eq for ActionTarget
Source§impl PartialEq for ActionTarget
impl PartialEq for ActionTarget
impl StructuralPartialEq for ActionTarget
Auto Trait Implementations§
impl Freeze for ActionTarget
impl RefUnwindSafe for ActionTarget
impl Send for ActionTarget
impl Sync for ActionTarget
impl Unpin for ActionTarget
impl UnsafeUnpin for ActionTarget
impl UnwindSafe for ActionTarget
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§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.