pub enum PaneSemanticInputEventKind {
PointerDown {
target: PaneResizeTarget,
pointer_id: u32,
button: PanePointerButton,
position: PanePointerPosition,
},
PointerMove {
target: PaneResizeTarget,
pointer_id: u32,
position: PanePointerPosition,
delta_x: i32,
delta_y: i32,
},
PointerUp {
target: PaneResizeTarget,
pointer_id: u32,
button: PanePointerButton,
position: PanePointerPosition,
},
WheelNudge {
target: PaneResizeTarget,
lines: i16,
},
KeyboardResize {
target: PaneResizeTarget,
direction: PaneResizeDirection,
units: u16,
},
Cancel {
target: Option<PaneResizeTarget>,
reason: PaneCancelReason,
},
Blur {
target: Option<PaneResizeTarget>,
},
}Expand description
Versioned semantic pane interaction event kind.
Variants§
PointerDown
PointerMove
PointerUp
WheelNudge
KeyboardResize
Cancel
Blur
Fields
§
target: Option<PaneResizeTarget>Trait Implementations§
Source§impl Clone for PaneSemanticInputEventKind
impl Clone for PaneSemanticInputEventKind
Source§fn clone(&self) -> PaneSemanticInputEventKind
fn clone(&self) -> PaneSemanticInputEventKind
Returns a duplicate of the value. Read more
1.0.0 · 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 PaneSemanticInputEventKind
impl Debug for PaneSemanticInputEventKind
Source§impl<'de> Deserialize<'de> for PaneSemanticInputEventKind
impl<'de> Deserialize<'de> for PaneSemanticInputEventKind
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
impl Eq for PaneSemanticInputEventKind
impl StructuralPartialEq for PaneSemanticInputEventKind
Auto Trait Implementations§
impl Freeze for PaneSemanticInputEventKind
impl RefUnwindSafe for PaneSemanticInputEventKind
impl Send for PaneSemanticInputEventKind
impl Sync for PaneSemanticInputEventKind
impl Unpin for PaneSemanticInputEventKind
impl UnsafeUnpin for PaneSemanticInputEventKind
impl UnwindSafe for PaneSemanticInputEventKind
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