pub enum HitRole {
Blank,
Node,
Port,
Button,
Field,
Edge,
}Expand description
What sits under the pointer at the moment of a gesture.
Variants§
Blank
Empty workspace background.
Node
A graph node body.
Port
A typed port on a node.
Button
An actionable control.
Field
An editable field.
Edge
A wire between two ports.
Trait Implementations§
impl Eq for HitRole
impl StructuralPartialEq for HitRole
Auto Trait Implementations§
impl Freeze for HitRole
impl RefUnwindSafe for HitRole
impl Send for HitRole
impl Sync for HitRole
impl Unpin for HitRole
impl UnsafeUnpin for HitRole
impl UnwindSafe for HitRole
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