pub struct Picked {
pub element: PickedElement,
pub drawn: Vec<PickedElement>,
pub visuals: Vec<Visual>,
pub detail: Option<String>,
pub tone: Tone,
}Expand description
An element a Reference holds, and what the operation says of it.
Fields§
§element: PickedElement§drawn: Vec<PickedElement>What an editor draws of it, lit while it is held (see
crate::selectable::Selectable::drawn).
visuals: Vec<Visual>What an editor draws of it besides, while it is held (see
crate::selectable::Selectable::visuals).
detail: Option<String>What it is used as, or why it cannot be.
tone: ToneImplementations§
Trait Implementations§
impl StructuralPartialEq for Picked
Auto Trait Implementations§
impl Freeze for Picked
impl RefUnwindSafe for Picked
impl Send for Picked
impl Sync for Picked
impl Unpin for Picked
impl UnsafeUnpin for Picked
impl UnwindSafe for Picked
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