pub enum ConnectionEndIntent {
Complete,
Cancel,
DropOnPane {
pointer: CanvasPoint,
menu: Option<MenuDescriptor>,
},
}Expand description
Adapter-normalized intent for ending a connection gesture.
Variants§
Complete
End the gesture at the currently resolved hover target.
Cancel
Explicit cancellation: escape key, lost focus, tool switch, or adapter-level cancel action.
DropOnPane
Pointer was released on the pane/background instead of on a handle.
Trait Implementations§
Source§impl Clone for ConnectionEndIntent
impl Clone for ConnectionEndIntent
Source§fn clone(&self) -> ConnectionEndIntent
fn clone(&self) -> ConnectionEndIntent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConnectionEndIntent
impl Debug for ConnectionEndIntent
Source§impl<'de> Deserialize<'de> for ConnectionEndIntent
impl<'de> Deserialize<'de> for ConnectionEndIntent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ConnectionEndIntent
impl PartialEq for ConnectionEndIntent
Source§fn eq(&self, other: &ConnectionEndIntent) -> bool
fn eq(&self, other: &ConnectionEndIntent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ConnectionEndIntent
impl Serialize for ConnectionEndIntent
impl StructuralPartialEq for ConnectionEndIntent
Auto Trait Implementations§
impl Freeze for ConnectionEndIntent
impl RefUnwindSafe for ConnectionEndIntent
impl Send for ConnectionEndIntent
impl Sync for ConnectionEndIntent
impl Unpin for ConnectionEndIntent
impl UnsafeUnpin for ConnectionEndIntent
impl UnwindSafe for ConnectionEndIntent
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