pub enum InHand {
Nothing,
Clicks,
Strokes,
}Expand description
What an operation has in hand while a step is edited (see
Form::tool).
Variants§
Nothing
Nothing: a click selects, and a draggable visual is dragged.
Clicks
A tool that clicks — drawing a line, say: clicks go to it rather than select, and draggable visuals are not dragged.
Strokes
A tool that also strokes — trimming, say: besides its clicks, a
press anywhere grabs, and the drag goes to it as a
CanvasEvent::Stroke.
Trait Implementations§
impl Copy for InHand
impl Eq for InHand
impl StructuralPartialEq for InHand
Auto Trait Implementations§
impl Freeze for InHand
impl RefUnwindSafe for InHand
impl Send for InHand
impl Sync for InHand
impl Unpin for InHand
impl UnsafeUnpin for InHand
impl UnwindSafe for InHand
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