use RefCell;
use Rc;
use crateBackendView;
use crate;
/// Shared context threaded through every input handler.
///
/// Bundles the per-call parameters that were previously repeated on every
/// function signature (`mod_state`, `pointer_state`, `backend`, `config_path`,
/// `wayland_display`), giving each handler a single, cohesive argument instead
/// of a long, unordered parameter list.
///
/// Ownership note: the two `Rc<RefCell<_>>` fields are cheap to clone and are
/// intentionally kept as references-to-shared-state so that handlers can read
/// and write them without threading lifetimes through every sub-call.
pub