pub struct PaneTerminalDispatch {
pub primary_event: Option<PaneSemanticInputEvent>,
pub primary_transition: Option<PaneDragResizeTransition>,
pub motion: Option<PaneMotionVector>,
pub inertial_throw: Option<PaneInertialThrow>,
pub projected_position: Option<PanePointerPosition>,
pub recovery_event: Option<PaneSemanticInputEvent>,
pub recovery_transition: Option<PaneDragResizeTransition>,
pub log: PaneTerminalLogEntry,
}Expand description
Output of one terminal event translation step.
recovery_* fields are populated when the adapter first emits an internal
cancel (for stale/missing mouse-up recovery) and then forwards the incoming
event as a fresh semantic event.
Fields§
§primary_event: Option<PaneSemanticInputEvent>§primary_transition: Option<PaneDragResizeTransition>§motion: Option<PaneMotionVector>§inertial_throw: Option<PaneInertialThrow>§projected_position: Option<PanePointerPosition>§recovery_event: Option<PaneSemanticInputEvent>§recovery_transition: Option<PaneDragResizeTransition>§log: PaneTerminalLogEntryImplementations§
Source§impl PaneTerminalDispatch
impl PaneTerminalDispatch
Sourcepub fn pressure_snap_profile(&self) -> Option<PanePressureSnapProfile>
pub fn pressure_snap_profile(&self) -> Option<PanePressureSnapProfile>
Derive dynamic snap profile from translated pointer motion.
Trait Implementations§
Source§impl Clone for PaneTerminalDispatch
impl Clone for PaneTerminalDispatch
Source§fn clone(&self) -> PaneTerminalDispatch
fn clone(&self) -> PaneTerminalDispatch
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 PaneTerminalDispatch
impl Debug for PaneTerminalDispatch
Source§impl PartialEq for PaneTerminalDispatch
impl PartialEq for PaneTerminalDispatch
impl StructuralPartialEq for PaneTerminalDispatch
Auto Trait Implementations§
impl Freeze for PaneTerminalDispatch
impl RefUnwindSafe for PaneTerminalDispatch
impl Send for PaneTerminalDispatch
impl Sync for PaneTerminalDispatch
impl Unpin for PaneTerminalDispatch
impl UnsafeUnpin for PaneTerminalDispatch
impl UnwindSafe for PaneTerminalDispatch
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