Struct winit::platform_impl::linux::wayland::state::WinitState
source · pub struct WinitState {Show 25 fields
pub registry_state: RegistryState,
pub output_state: OutputState,
pub compositor_state: Arc<CompositorState>,
pub subcompositor_state: Option<Arc<SubcompositorState>>,
pub seat_state: SeatState,
pub shm: Shm,
pub custom_cursor_pool: Arc<Mutex<SlotPool>>,
pub xdg_shell: XdgShell,
pub windows: RefCell<AHashMap<WindowId, Arc<Mutex<WindowState>>>>,
pub window_requests: RefCell<AHashMap<WindowId, Arc<WindowRequests>>>,
pub window_events_sink: Arc<Mutex<EventSink>>,
pub window_compositor_updates: Vec<WindowCompositorUpdate>,
pub seats: AHashMap<ObjectId, WinitSeatState>,
pub pointer_surfaces: AHashMap<ObjectId, Arc<ThemedPointer<WinitPointerData>>>,
pub text_input_state: Option<TextInputState>,
pub monitors: Arc<Mutex<Vec<MonitorHandle>>>,
pub events_sink: EventSink,
pub xdg_activation: Option<XdgActivationState>,
pub relative_pointer: Option<RelativePointerState>,
pub pointer_constraints: Option<Arc<PointerConstraintsState>>,
pub viewporter_state: Option<ViewporterState>,
pub fractional_scaling_manager: Option<FractionalScalingManager>,
pub kwin_blur_manager: Option<KWinBlurManager>,
pub loop_handle: LoopHandle<'static, Self>,
pub dispatched_events: bool,
}
Expand description
Winit’s Wayland state.
Fields§
§registry_state: RegistryState
The WlRegistry.
output_state: OutputState
The state of the WlOutput handling.
compositor_state: Arc<CompositorState>
The compositor state which is used to create new windows and regions.
subcompositor_state: Option<Arc<SubcompositorState>>
The state of the subcompositor.
seat_state: SeatState
The seat state responsible for all sorts of input.
shm: Shm
The shm for software buffers, such as cursors.
custom_cursor_pool: Arc<Mutex<SlotPool>>
The pool where custom cursors are allocated.
xdg_shell: XdgShell
The XDG shell that is used for windows.
windows: RefCell<AHashMap<WindowId, Arc<Mutex<WindowState>>>>
The currently present windows.
window_requests: RefCell<AHashMap<WindowId, Arc<WindowRequests>>>
The requests from the Window
to EventLoop, such as close operations and redraw requests.
window_events_sink: Arc<Mutex<EventSink>>
The events that were generated directly from the window.
window_compositor_updates: Vec<WindowCompositorUpdate>
The update for the windows
coming from the compositor.
seats: AHashMap<ObjectId, WinitSeatState>
Currently handled seats.
pointer_surfaces: AHashMap<ObjectId, Arc<ThemedPointer<WinitPointerData>>>
Currently present cursor surfaces.
text_input_state: Option<TextInputState>
The state of the text input on the client.
monitors: Arc<Mutex<Vec<MonitorHandle>>>
Observed monitors.
events_sink: EventSink
Sink to accumulate window events from the compositor, which is latter dispatched in event loop run.
xdg_activation: Option<XdgActivationState>
Xdg activation.
relative_pointer: Option<RelativePointerState>
Relative pointer.
pointer_constraints: Option<Arc<PointerConstraintsState>>
Pointer constraints to handle pointer locking and confining.
viewporter_state: Option<ViewporterState>
Viewporter state on the given window.
fractional_scaling_manager: Option<FractionalScalingManager>
Fractional scaling manager.
kwin_blur_manager: Option<KWinBlurManager>
KWin blur manager.
loop_handle: LoopHandle<'static, Self>
Loop handle to re-register event sources, such as keyboard repeat.
dispatched_events: bool
Whether we have dispatched events to the user thus we want to
send AboutToWait
and normally wakeup the user.
Implementations§
source§impl WinitState
impl WinitState
fn on_keyboard_destroy(&mut self, seat: &ObjectId)
source§impl WinitState
impl WinitState
pub fn new( globals: &GlobalList, queue_handle: &QueueHandle<Self>, loop_handle: LoopHandle<'static, WinitState>, ) -> Result<Self, OsError>
pub fn scale_factor_changed( &mut self, surface: &WlSurface, scale_factor: f64, is_legacy: bool, )
pub fn queue_close( updates: &mut Vec<WindowCompositorUpdate>, window_id: WindowId, )
Trait Implementations§
source§impl CompositorHandler for WinitState
impl CompositorHandler for WinitState
source§fn transform_changed(
&mut self,
_: &Connection,
_: &QueueHandle<Self>,
_: &WlSurface,
_: Transform,
)
fn transform_changed( &mut self, _: &Connection, _: &QueueHandle<Self>, _: &WlSurface, _: Transform, )
source§fn surface_enter(
&mut self,
_: &Connection,
_: &QueueHandle<Self>,
_: &WlSurface,
_: &WlOutput,
)
fn surface_enter( &mut self, _: &Connection, _: &QueueHandle<Self>, _: &WlSurface, _: &WlOutput, )
source§fn surface_leave(
&mut self,
_: &Connection,
_: &QueueHandle<Self>,
_: &WlSurface,
_: &WlOutput,
)
fn surface_leave( &mut self, _: &Connection, _: &QueueHandle<Self>, _: &WlSurface, _: &WlOutput, )
source§fn scale_factor_changed(
&mut self,
_: &Connection,
_: &QueueHandle<Self>,
surface: &WlSurface,
scale_factor: i32,
)
fn scale_factor_changed( &mut self, _: &Connection, _: &QueueHandle<Self>, surface: &WlSurface, scale_factor: i32, )
source§fn frame(
&mut self,
_: &Connection,
_: &QueueHandle<Self>,
surface: &WlSurface,
_: u32,
)
fn frame( &mut self, _: &Connection, _: &QueueHandle<Self>, surface: &WlSurface, _: u32, )
source§impl Dispatch<OrgKdeKwinBlur, ()> for WinitState
impl Dispatch<OrgKdeKwinBlur, ()> for WinitState
source§fn event(
state: &mut Self,
proxy: &OrgKdeKwinBlur,
event: <OrgKdeKwinBlur as Proxy>::Event,
data: &(),
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &OrgKdeKwinBlur, event: <OrgKdeKwinBlur as Proxy>::Event, data: &(), conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<OrgKdeKwinBlur, (), WinitState> for KWinBlurManager
impl Dispatch<OrgKdeKwinBlur, (), WinitState> for KWinBlurManager
source§fn event(
_: &mut WinitState,
_: &OrgKdeKwinBlur,
_: <OrgKdeKwinBlur as Proxy>::Event,
_: &(),
_: &Connection,
_: &QueueHandle<WinitState>,
)
fn event( _: &mut WinitState, _: &OrgKdeKwinBlur, _: <OrgKdeKwinBlur as Proxy>::Event, _: &(), _: &Connection, _: &QueueHandle<WinitState>, )
source§fn event_created_child(
opcode: u16,
_qhandle: &QueueHandle<State>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, _qhandle: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<OrgKdeKwinBlurManager, GlobalData> for WinitState
impl Dispatch<OrgKdeKwinBlurManager, GlobalData> for WinitState
source§fn event(
state: &mut Self,
proxy: &OrgKdeKwinBlurManager,
event: <OrgKdeKwinBlurManager as Proxy>::Event,
data: &GlobalData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &OrgKdeKwinBlurManager, event: <OrgKdeKwinBlurManager as Proxy>::Event, data: &GlobalData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<OrgKdeKwinBlurManager, GlobalData, WinitState> for KWinBlurManager
impl Dispatch<OrgKdeKwinBlurManager, GlobalData, WinitState> for KWinBlurManager
source§fn event(
_: &mut WinitState,
_: &OrgKdeKwinBlurManager,
_: <OrgKdeKwinBlurManager as Proxy>::Event,
_: &GlobalData,
_: &Connection,
_: &QueueHandle<WinitState>,
)
fn event( _: &mut WinitState, _: &OrgKdeKwinBlurManager, _: <OrgKdeKwinBlurManager as Proxy>::Event, _: &GlobalData, _: &Connection, _: &QueueHandle<WinitState>, )
source§fn event_created_child(
opcode: u16,
_qhandle: &QueueHandle<State>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, _qhandle: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<WlCallback, WlSurface> for WinitState
impl Dispatch<WlCallback, WlSurface> for WinitState
source§fn event(
state: &mut Self,
proxy: &WlCallback,
event: <WlCallback as Proxy>::Event,
data: &WlSurface,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &WlCallback, event: <WlCallback as Proxy>::Event, data: &WlSurface, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<WlCompositor, GlobalData> for WinitState
impl Dispatch<WlCompositor, GlobalData> for WinitState
source§fn event(
state: &mut Self,
proxy: &WlCompositor,
event: <WlCompositor as Proxy>::Event,
data: &GlobalData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &WlCompositor, event: <WlCompositor as Proxy>::Event, data: &GlobalData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<WlKeyboard, KeyboardData> for WinitState
impl Dispatch<WlKeyboard, KeyboardData> for WinitState
source§fn event(
state: &mut WinitState,
wl_keyboard: &WlKeyboard,
event: <WlKeyboard as Proxy>::Event,
data: &KeyboardData,
_: &Connection,
_: &QueueHandle<WinitState>,
)
fn event( state: &mut WinitState, wl_keyboard: &WlKeyboard, event: <WlKeyboard as Proxy>::Event, data: &KeyboardData, _: &Connection, _: &QueueHandle<WinitState>, )
source§fn event_created_child(
opcode: u16,
_qhandle: &QueueHandle<State>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, _qhandle: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<WlOutput, OutputData> for WinitState
impl Dispatch<WlOutput, OutputData> for WinitState
source§fn event(
state: &mut Self,
proxy: &WlOutput,
event: <WlOutput as Proxy>::Event,
data: &OutputData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &WlOutput, event: <WlOutput as Proxy>::Event, data: &OutputData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<WlPointer, WinitPointerData> for WinitState
impl Dispatch<WlPointer, WinitPointerData> for WinitState
source§fn event(
state: &mut Self,
proxy: &WlPointer,
event: <WlPointer as Proxy>::Event,
data: &WinitPointerData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &WlPointer, event: <WlPointer as Proxy>::Event, data: &WinitPointerData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<WlRegistry, GlobalListContents> for WinitState
impl Dispatch<WlRegistry, GlobalListContents> for WinitState
source§fn event(
state: &mut Self,
proxy: &WlRegistry,
event: <WlRegistry as Proxy>::Event,
data: &GlobalListContents,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &WlRegistry, event: <WlRegistry as Proxy>::Event, data: &GlobalListContents, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<WlSeat, SeatData> for WinitState
impl Dispatch<WlSeat, SeatData> for WinitState
source§fn event(
state: &mut Self,
proxy: &WlSeat,
event: <WlSeat as Proxy>::Event,
data: &SeatData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &WlSeat, event: <WlSeat as Proxy>::Event, data: &SeatData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<WlShm, GlobalData> for WinitState
impl Dispatch<WlShm, GlobalData> for WinitState
source§fn event(
state: &mut Self,
proxy: &WlShm,
event: <WlShm as Proxy>::Event,
data: &GlobalData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &WlShm, event: <WlShm as Proxy>::Event, data: &GlobalData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<WlSubcompositor, GlobalData> for WinitState
impl Dispatch<WlSubcompositor, GlobalData> for WinitState
source§fn event(
state: &mut Self,
proxy: &WlSubcompositor,
event: <WlSubcompositor as Proxy>::Event,
data: &GlobalData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &WlSubcompositor, event: <WlSubcompositor as Proxy>::Event, data: &GlobalData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<WlSubsurface, SubsurfaceData> for WinitState
impl Dispatch<WlSubsurface, SubsurfaceData> for WinitState
source§fn event(
state: &mut Self,
proxy: &WlSubsurface,
event: <WlSubsurface as Proxy>::Event,
data: &SubsurfaceData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &WlSubsurface, event: <WlSubsurface as Proxy>::Event, data: &SubsurfaceData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<WlSurface, SurfaceData> for WinitState
impl Dispatch<WlSurface, SurfaceData> for WinitState
source§fn event(
state: &mut Self,
proxy: &WlSurface,
event: <WlSurface as Proxy>::Event,
data: &SurfaceData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &WlSurface, event: <WlSurface as Proxy>::Event, data: &SurfaceData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<WlTouch, TouchData> for WinitState
impl Dispatch<WlTouch, TouchData> for WinitState
source§fn event(
state: &mut Self,
proxy: &WlTouch,
event: <WlTouch as Proxy>::Event,
data: &TouchData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &WlTouch, event: <WlTouch as Proxy>::Event, data: &TouchData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<WpCursorShapeDeviceV1, GlobalData> for WinitState
impl Dispatch<WpCursorShapeDeviceV1, GlobalData> for WinitState
source§fn event(
state: &mut Self,
proxy: &WpCursorShapeDeviceV1,
event: <WpCursorShapeDeviceV1 as Proxy>::Event,
data: &GlobalData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &WpCursorShapeDeviceV1, event: <WpCursorShapeDeviceV1 as Proxy>::Event, data: &GlobalData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<WpCursorShapeDeviceV1, GlobalData, WinitState> for SeatState
impl Dispatch<WpCursorShapeDeviceV1, GlobalData, WinitState> for SeatState
source§fn event(
_: &mut WinitState,
_: &WpCursorShapeDeviceV1,
_: <WpCursorShapeDeviceV1 as Proxy>::Event,
_: &GlobalData,
_: &Connection,
_: &QueueHandle<WinitState>,
)
fn event( _: &mut WinitState, _: &WpCursorShapeDeviceV1, _: <WpCursorShapeDeviceV1 as Proxy>::Event, _: &GlobalData, _: &Connection, _: &QueueHandle<WinitState>, )
source§fn event_created_child(
opcode: u16,
_qhandle: &QueueHandle<State>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, _qhandle: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<WpCursorShapeManagerV1, GlobalData> for WinitState
impl Dispatch<WpCursorShapeManagerV1, GlobalData> for WinitState
source§fn event(
state: &mut Self,
proxy: &WpCursorShapeManagerV1,
event: <WpCursorShapeManagerV1 as Proxy>::Event,
data: &GlobalData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &WpCursorShapeManagerV1, event: <WpCursorShapeManagerV1 as Proxy>::Event, data: &GlobalData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<WpCursorShapeManagerV1, GlobalData, WinitState> for SeatState
impl Dispatch<WpCursorShapeManagerV1, GlobalData, WinitState> for SeatState
source§fn event(
_: &mut WinitState,
_: &WpCursorShapeManagerV1,
_: <WpCursorShapeManagerV1 as Proxy>::Event,
_: &GlobalData,
_: &Connection,
_: &QueueHandle<WinitState>,
)
fn event( _: &mut WinitState, _: &WpCursorShapeManagerV1, _: <WpCursorShapeManagerV1 as Proxy>::Event, _: &GlobalData, _: &Connection, _: &QueueHandle<WinitState>, )
source§fn event_created_child(
opcode: u16,
_qhandle: &QueueHandle<State>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, _qhandle: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<WpFractionalScaleManagerV1, GlobalData> for WinitState
impl Dispatch<WpFractionalScaleManagerV1, GlobalData> for WinitState
source§fn event(
state: &mut Self,
proxy: &WpFractionalScaleManagerV1,
event: <WpFractionalScaleManagerV1 as Proxy>::Event,
data: &GlobalData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &WpFractionalScaleManagerV1, event: <WpFractionalScaleManagerV1 as Proxy>::Event, data: &GlobalData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<WpFractionalScaleManagerV1, GlobalData, WinitState> for FractionalScalingManager
impl Dispatch<WpFractionalScaleManagerV1, GlobalData, WinitState> for FractionalScalingManager
source§fn event(
_: &mut WinitState,
_: &WpFractionalScaleManagerV1,
_: <WpFractionalScaleManagerV1 as Proxy>::Event,
_: &GlobalData,
_: &Connection,
_: &QueueHandle<WinitState>,
)
fn event( _: &mut WinitState, _: &WpFractionalScaleManagerV1, _: <WpFractionalScaleManagerV1 as Proxy>::Event, _: &GlobalData, _: &Connection, _: &QueueHandle<WinitState>, )
source§fn event_created_child(
opcode: u16,
_qhandle: &QueueHandle<State>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, _qhandle: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<WpFractionalScaleV1, FractionalScaling> for WinitState
impl Dispatch<WpFractionalScaleV1, FractionalScaling> for WinitState
source§fn event(
state: &mut Self,
proxy: &WpFractionalScaleV1,
event: <WpFractionalScaleV1 as Proxy>::Event,
data: &FractionalScaling,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &WpFractionalScaleV1, event: <WpFractionalScaleV1 as Proxy>::Event, data: &FractionalScaling, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<WpFractionalScaleV1, FractionalScaling, WinitState> for FractionalScalingManager
impl Dispatch<WpFractionalScaleV1, FractionalScaling, WinitState> for FractionalScalingManager
source§fn event(
state: &mut WinitState,
_: &WpFractionalScaleV1,
event: <WpFractionalScaleV1 as Proxy>::Event,
data: &FractionalScaling,
_: &Connection,
_: &QueueHandle<WinitState>,
)
fn event( state: &mut WinitState, _: &WpFractionalScaleV1, event: <WpFractionalScaleV1 as Proxy>::Event, data: &FractionalScaling, _: &Connection, _: &QueueHandle<WinitState>, )
source§fn event_created_child(
opcode: u16,
_qhandle: &QueueHandle<State>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, _qhandle: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<WpViewport, GlobalData> for WinitState
impl Dispatch<WpViewport, GlobalData> for WinitState
source§fn event(
state: &mut Self,
proxy: &WpViewport,
event: <WpViewport as Proxy>::Event,
data: &GlobalData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &WpViewport, event: <WpViewport as Proxy>::Event, data: &GlobalData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<WpViewport, GlobalData, WinitState> for ViewporterState
impl Dispatch<WpViewport, GlobalData, WinitState> for ViewporterState
source§fn event(
_: &mut WinitState,
_: &WpViewport,
_: <WpViewport as Proxy>::Event,
_: &GlobalData,
_: &Connection,
_: &QueueHandle<WinitState>,
)
fn event( _: &mut WinitState, _: &WpViewport, _: <WpViewport as Proxy>::Event, _: &GlobalData, _: &Connection, _: &QueueHandle<WinitState>, )
source§fn event_created_child(
opcode: u16,
_qhandle: &QueueHandle<State>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, _qhandle: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<WpViewporter, GlobalData> for WinitState
impl Dispatch<WpViewporter, GlobalData> for WinitState
source§fn event(
state: &mut Self,
proxy: &WpViewporter,
event: <WpViewporter as Proxy>::Event,
data: &GlobalData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &WpViewporter, event: <WpViewporter as Proxy>::Event, data: &GlobalData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<WpViewporter, GlobalData, WinitState> for ViewporterState
impl Dispatch<WpViewporter, GlobalData, WinitState> for ViewporterState
source§fn event(
_: &mut WinitState,
_: &WpViewporter,
_: <WpViewporter as Proxy>::Event,
_: &GlobalData,
_: &Connection,
_: &QueueHandle<WinitState>,
)
fn event( _: &mut WinitState, _: &WpViewporter, _: <WpViewporter as Proxy>::Event, _: &GlobalData, _: &Connection, _: &QueueHandle<WinitState>, )
source§fn event_created_child(
opcode: u16,
_qhandle: &QueueHandle<State>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, _qhandle: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<XdgActivationTokenV1, XdgActivationTokenData> for WinitState
impl Dispatch<XdgActivationTokenV1, XdgActivationTokenData> for WinitState
source§fn event(
state: &mut Self,
proxy: &XdgActivationTokenV1,
event: <XdgActivationTokenV1 as Proxy>::Event,
data: &XdgActivationTokenData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &XdgActivationTokenV1, event: <XdgActivationTokenV1 as Proxy>::Event, data: &XdgActivationTokenData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<XdgActivationTokenV1, XdgActivationTokenData, WinitState> for XdgActivationState
impl Dispatch<XdgActivationTokenV1, XdgActivationTokenData, WinitState> for XdgActivationState
source§fn event(
state: &mut WinitState,
proxy: &XdgActivationTokenV1,
event: <XdgActivationTokenV1 as Proxy>::Event,
data: &XdgActivationTokenData,
_: &Connection,
_: &QueueHandle<WinitState>,
)
fn event( state: &mut WinitState, proxy: &XdgActivationTokenV1, event: <XdgActivationTokenV1 as Proxy>::Event, data: &XdgActivationTokenData, _: &Connection, _: &QueueHandle<WinitState>, )
source§fn event_created_child(
opcode: u16,
_qhandle: &QueueHandle<State>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, _qhandle: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<XdgActivationV1, GlobalData> for WinitState
impl Dispatch<XdgActivationV1, GlobalData> for WinitState
source§fn event(
state: &mut Self,
proxy: &XdgActivationV1,
event: <XdgActivationV1 as Proxy>::Event,
data: &GlobalData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &XdgActivationV1, event: <XdgActivationV1 as Proxy>::Event, data: &GlobalData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<XdgActivationV1, GlobalData, WinitState> for XdgActivationState
impl Dispatch<XdgActivationV1, GlobalData, WinitState> for XdgActivationState
source§fn event(
_state: &mut WinitState,
_proxy: &XdgActivationV1,
_event: <XdgActivationV1 as Proxy>::Event,
_data: &GlobalData,
_conn: &Connection,
_qhandle: &QueueHandle<WinitState>,
)
fn event( _state: &mut WinitState, _proxy: &XdgActivationV1, _event: <XdgActivationV1 as Proxy>::Event, _data: &GlobalData, _conn: &Connection, _qhandle: &QueueHandle<WinitState>, )
source§fn event_created_child(
opcode: u16,
_qhandle: &QueueHandle<State>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, _qhandle: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<XdgSurface, WindowData> for WinitState
impl Dispatch<XdgSurface, WindowData> for WinitState
source§fn event(
state: &mut Self,
proxy: &XdgSurface,
event: <XdgSurface as Proxy>::Event,
data: &WindowData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &XdgSurface, event: <XdgSurface as Proxy>::Event, data: &WindowData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<XdgToplevel, WindowData> for WinitState
impl Dispatch<XdgToplevel, WindowData> for WinitState
source§fn event(
state: &mut Self,
proxy: &XdgToplevel,
event: <XdgToplevel as Proxy>::Event,
data: &WindowData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &XdgToplevel, event: <XdgToplevel as Proxy>::Event, data: &WindowData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<XdgWmBase, GlobalData> for WinitState
impl Dispatch<XdgWmBase, GlobalData> for WinitState
source§fn event(
state: &mut Self,
proxy: &XdgWmBase,
event: <XdgWmBase as Proxy>::Event,
data: &GlobalData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &XdgWmBase, event: <XdgWmBase as Proxy>::Event, data: &GlobalData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<ZwpConfinedPointerV1, GlobalData> for WinitState
impl Dispatch<ZwpConfinedPointerV1, GlobalData> for WinitState
source§fn event(
state: &mut Self,
proxy: &ZwpConfinedPointerV1,
event: <ZwpConfinedPointerV1 as Proxy>::Event,
data: &GlobalData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &ZwpConfinedPointerV1, event: <ZwpConfinedPointerV1 as Proxy>::Event, data: &GlobalData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<ZwpConfinedPointerV1, GlobalData, WinitState> for PointerConstraintsState
impl Dispatch<ZwpConfinedPointerV1, GlobalData, WinitState> for PointerConstraintsState
source§fn event(
_state: &mut WinitState,
_proxy: &ZwpConfinedPointerV1,
_event: <ZwpConfinedPointerV1 as Proxy>::Event,
_data: &GlobalData,
_conn: &Connection,
_qhandle: &QueueHandle<WinitState>,
)
fn event( _state: &mut WinitState, _proxy: &ZwpConfinedPointerV1, _event: <ZwpConfinedPointerV1 as Proxy>::Event, _data: &GlobalData, _conn: &Connection, _qhandle: &QueueHandle<WinitState>, )
source§fn event_created_child(
opcode: u16,
_qhandle: &QueueHandle<State>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, _qhandle: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<ZwpLockedPointerV1, GlobalData> for WinitState
impl Dispatch<ZwpLockedPointerV1, GlobalData> for WinitState
source§fn event(
state: &mut Self,
proxy: &ZwpLockedPointerV1,
event: <ZwpLockedPointerV1 as Proxy>::Event,
data: &GlobalData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &ZwpLockedPointerV1, event: <ZwpLockedPointerV1 as Proxy>::Event, data: &GlobalData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<ZwpLockedPointerV1, GlobalData, WinitState> for PointerConstraintsState
impl Dispatch<ZwpLockedPointerV1, GlobalData, WinitState> for PointerConstraintsState
source§fn event(
_state: &mut WinitState,
_proxy: &ZwpLockedPointerV1,
_event: <ZwpLockedPointerV1 as Proxy>::Event,
_data: &GlobalData,
_conn: &Connection,
_qhandle: &QueueHandle<WinitState>,
)
fn event( _state: &mut WinitState, _proxy: &ZwpLockedPointerV1, _event: <ZwpLockedPointerV1 as Proxy>::Event, _data: &GlobalData, _conn: &Connection, _qhandle: &QueueHandle<WinitState>, )
source§fn event_created_child(
opcode: u16,
_qhandle: &QueueHandle<State>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, _qhandle: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<ZwpPointerConstraintsV1, GlobalData> for WinitState
impl Dispatch<ZwpPointerConstraintsV1, GlobalData> for WinitState
source§fn event(
state: &mut Self,
proxy: &ZwpPointerConstraintsV1,
event: <ZwpPointerConstraintsV1 as Proxy>::Event,
data: &GlobalData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &ZwpPointerConstraintsV1, event: <ZwpPointerConstraintsV1 as Proxy>::Event, data: &GlobalData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<ZwpPointerConstraintsV1, GlobalData, WinitState> for PointerConstraintsState
impl Dispatch<ZwpPointerConstraintsV1, GlobalData, WinitState> for PointerConstraintsState
source§fn event(
_state: &mut WinitState,
_proxy: &ZwpPointerConstraintsV1,
_event: <ZwpPointerConstraintsV1 as Proxy>::Event,
_data: &GlobalData,
_conn: &Connection,
_qhandle: &QueueHandle<WinitState>,
)
fn event( _state: &mut WinitState, _proxy: &ZwpPointerConstraintsV1, _event: <ZwpPointerConstraintsV1 as Proxy>::Event, _data: &GlobalData, _conn: &Connection, _qhandle: &QueueHandle<WinitState>, )
source§fn event_created_child(
opcode: u16,
_qhandle: &QueueHandle<State>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, _qhandle: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<ZwpRelativePointerManagerV1, GlobalData> for WinitState
impl Dispatch<ZwpRelativePointerManagerV1, GlobalData> for WinitState
source§fn event(
state: &mut Self,
proxy: &ZwpRelativePointerManagerV1,
event: <ZwpRelativePointerManagerV1 as Proxy>::Event,
data: &GlobalData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &ZwpRelativePointerManagerV1, event: <ZwpRelativePointerManagerV1 as Proxy>::Event, data: &GlobalData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<ZwpRelativePointerManagerV1, GlobalData, WinitState> for RelativePointerState
impl Dispatch<ZwpRelativePointerManagerV1, GlobalData, WinitState> for RelativePointerState
source§fn event(
_state: &mut WinitState,
_proxy: &ZwpRelativePointerManagerV1,
_event: <ZwpRelativePointerManagerV1 as Proxy>::Event,
_data: &GlobalData,
_conn: &Connection,
_qhandle: &QueueHandle<WinitState>,
)
fn event( _state: &mut WinitState, _proxy: &ZwpRelativePointerManagerV1, _event: <ZwpRelativePointerManagerV1 as Proxy>::Event, _data: &GlobalData, _conn: &Connection, _qhandle: &QueueHandle<WinitState>, )
source§fn event_created_child(
opcode: u16,
_qhandle: &QueueHandle<State>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, _qhandle: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<ZwpRelativePointerV1, GlobalData> for WinitState
impl Dispatch<ZwpRelativePointerV1, GlobalData> for WinitState
source§fn event(
state: &mut Self,
proxy: &ZwpRelativePointerV1,
event: <ZwpRelativePointerV1 as Proxy>::Event,
data: &GlobalData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &ZwpRelativePointerV1, event: <ZwpRelativePointerV1 as Proxy>::Event, data: &GlobalData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<ZwpRelativePointerV1, GlobalData, WinitState> for RelativePointerState
impl Dispatch<ZwpRelativePointerV1, GlobalData, WinitState> for RelativePointerState
source§fn event(
state: &mut WinitState,
_proxy: &ZwpRelativePointerV1,
event: <ZwpRelativePointerV1 as Proxy>::Event,
_data: &GlobalData,
_conn: &Connection,
_qhandle: &QueueHandle<WinitState>,
)
fn event( state: &mut WinitState, _proxy: &ZwpRelativePointerV1, event: <ZwpRelativePointerV1 as Proxy>::Event, _data: &GlobalData, _conn: &Connection, _qhandle: &QueueHandle<WinitState>, )
source§fn event_created_child(
opcode: u16,
_qhandle: &QueueHandle<State>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, _qhandle: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<ZwpTextInputManagerV3, GlobalData> for WinitState
impl Dispatch<ZwpTextInputManagerV3, GlobalData> for WinitState
source§fn event(
state: &mut Self,
proxy: &ZwpTextInputManagerV3,
event: <ZwpTextInputManagerV3 as Proxy>::Event,
data: &GlobalData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &ZwpTextInputManagerV3, event: <ZwpTextInputManagerV3 as Proxy>::Event, data: &GlobalData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<ZwpTextInputManagerV3, GlobalData, WinitState> for TextInputState
impl Dispatch<ZwpTextInputManagerV3, GlobalData, WinitState> for TextInputState
source§fn event(
_state: &mut WinitState,
_proxy: &ZwpTextInputManagerV3,
_event: <ZwpTextInputManagerV3 as Proxy>::Event,
_data: &GlobalData,
_conn: &Connection,
_qhandle: &QueueHandle<WinitState>,
)
fn event( _state: &mut WinitState, _proxy: &ZwpTextInputManagerV3, _event: <ZwpTextInputManagerV3 as Proxy>::Event, _data: &GlobalData, _conn: &Connection, _qhandle: &QueueHandle<WinitState>, )
source§fn event_created_child(
opcode: u16,
_qhandle: &QueueHandle<State>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, _qhandle: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<ZwpTextInputV3, TextInputData> for WinitState
impl Dispatch<ZwpTextInputV3, TextInputData> for WinitState
source§fn event(
state: &mut Self,
proxy: &ZwpTextInputV3,
event: <ZwpTextInputV3 as Proxy>::Event,
data: &TextInputData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &ZwpTextInputV3, event: <ZwpTextInputV3 as Proxy>::Event, data: &TextInputData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<ZwpTextInputV3, TextInputData, WinitState> for TextInputState
impl Dispatch<ZwpTextInputV3, TextInputData, WinitState> for TextInputState
source§fn event(
state: &mut WinitState,
text_input: &ZwpTextInputV3,
event: <ZwpTextInputV3 as Proxy>::Event,
data: &TextInputData,
_conn: &Connection,
_qhandle: &QueueHandle<WinitState>,
)
fn event( state: &mut WinitState, text_input: &ZwpTextInputV3, event: <ZwpTextInputV3 as Proxy>::Event, data: &TextInputData, _conn: &Connection, _qhandle: &QueueHandle<WinitState>, )
source§fn event_created_child(
opcode: u16,
_qhandle: &QueueHandle<State>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, _qhandle: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<ZxdgDecorationManagerV1, GlobalData> for WinitState
impl Dispatch<ZxdgDecorationManagerV1, GlobalData> for WinitState
source§fn event(
state: &mut Self,
proxy: &ZxdgDecorationManagerV1,
event: <ZxdgDecorationManagerV1 as Proxy>::Event,
data: &GlobalData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &ZxdgDecorationManagerV1, event: <ZxdgDecorationManagerV1 as Proxy>::Event, data: &GlobalData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<ZxdgOutputManagerV1, GlobalData> for WinitState
impl Dispatch<ZxdgOutputManagerV1, GlobalData> for WinitState
source§fn event(
state: &mut Self,
proxy: &ZxdgOutputManagerV1,
event: <ZxdgOutputManagerV1 as Proxy>::Event,
data: &GlobalData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &ZxdgOutputManagerV1, event: <ZxdgOutputManagerV1 as Proxy>::Event, data: &GlobalData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<ZxdgOutputV1, OutputData> for WinitState
impl Dispatch<ZxdgOutputV1, OutputData> for WinitState
source§fn event(
state: &mut Self,
proxy: &ZxdgOutputV1,
event: <ZxdgOutputV1 as Proxy>::Event,
data: &OutputData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &ZxdgOutputV1, event: <ZxdgOutputV1 as Proxy>::Event, data: &OutputData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl Dispatch<ZxdgToplevelDecorationV1, WindowData> for WinitState
impl Dispatch<ZxdgToplevelDecorationV1, WindowData> for WinitState
source§fn event(
state: &mut Self,
proxy: &ZxdgToplevelDecorationV1,
event: <ZxdgToplevelDecorationV1 as Proxy>::Event,
data: &WindowData,
conn: &Connection,
qhandle: &QueueHandle<Self>,
)
fn event( state: &mut Self, proxy: &ZxdgToplevelDecorationV1, event: <ZxdgToplevelDecorationV1 as Proxy>::Event, data: &WindowData, conn: &Connection, qhandle: &QueueHandle<Self>, )
source§fn event_created_child(
opcode: u16,
qhandle: &QueueHandle<Self>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, qhandle: &QueueHandle<Self>, ) -> Arc<dyn ObjectData>
source§impl OutputHandler for WinitState
impl OutputHandler for WinitState
fn output_state(&mut self) -> &mut OutputState
source§fn new_output(
&mut self,
_: &Connection,
_: &QueueHandle<Self>,
output: WlOutput,
)
fn new_output( &mut self, _: &Connection, _: &QueueHandle<Self>, output: WlOutput, )
source§fn update_output(
&mut self,
_: &Connection,
_: &QueueHandle<Self>,
updated: WlOutput,
)
fn update_output( &mut self, _: &Connection, _: &QueueHandle<Self>, updated: WlOutput, )
source§fn output_destroyed(
&mut self,
_: &Connection,
_: &QueueHandle<Self>,
removed: WlOutput,
)
fn output_destroyed( &mut self, _: &Connection, _: &QueueHandle<Self>, removed: WlOutput, )
source§impl PointerHandler for WinitState
impl PointerHandler for WinitState
source§fn pointer_frame(
&mut self,
connection: &Connection,
_: &QueueHandle<Self>,
pointer: &WlPointer,
events: &[PointerEvent],
)
fn pointer_frame( &mut self, connection: &Connection, _: &QueueHandle<Self>, pointer: &WlPointer, events: &[PointerEvent], )
source§impl ProvidesRegistryState for WinitState
impl ProvidesRegistryState for WinitState
source§fn runtime_add_global(
&mut self,
conn: &Connection,
qh: &QueueHandle<Self>,
name: u32,
interface: &str,
version: u32,
)
fn runtime_add_global( &mut self, conn: &Connection, qh: &QueueHandle<Self>, name: u32, interface: &str, version: u32, )
source§fn runtime_remove_global(
&mut self,
conn: &Connection,
qh: &QueueHandle<Self>,
name: u32,
interface: &str,
)
fn runtime_remove_global( &mut self, conn: &Connection, qh: &QueueHandle<Self>, name: u32, interface: &str, )
source§fn registry(&mut self) -> &mut RegistryState
fn registry(&mut self) -> &mut RegistryState
source§impl SeatHandler for WinitState
impl SeatHandler for WinitState
fn seat_state(&mut self) -> &mut SeatState
source§fn new_capability(
&mut self,
_: &Connection,
queue_handle: &QueueHandle<Self>,
seat: WlSeat,
capability: SeatCapability,
)
fn new_capability( &mut self, _: &Connection, queue_handle: &QueueHandle<Self>, seat: WlSeat, capability: SeatCapability, )
source§fn remove_capability(
&mut self,
_: &Connection,
_queue_handle: &QueueHandle<Self>,
seat: WlSeat,
capability: SeatCapability,
)
fn remove_capability( &mut self, _: &Connection, _queue_handle: &QueueHandle<Self>, seat: WlSeat, capability: SeatCapability, )
source§fn new_seat(
&mut self,
_connection: &Connection,
_queue_handle: &QueueHandle<Self>,
seat: WlSeat,
)
fn new_seat( &mut self, _connection: &Connection, _queue_handle: &QueueHandle<Self>, seat: WlSeat, )
source§fn remove_seat(
&mut self,
_connection: &Connection,
_queue_handle: &QueueHandle<Self>,
seat: WlSeat,
)
fn remove_seat( &mut self, _connection: &Connection, _queue_handle: &QueueHandle<Self>, seat: WlSeat, )
source§impl ShmHandler for WinitState
impl ShmHandler for WinitState
source§impl TouchHandler for WinitState
impl TouchHandler for WinitState
source§fn down(
&mut self,
_: &Connection,
_: &QueueHandle<Self>,
touch: &WlTouch,
_: u32,
_: u32,
surface: WlSurface,
id: i32,
position: (f64, f64),
)
fn down( &mut self, _: &Connection, _: &QueueHandle<Self>, touch: &WlTouch, _: u32, _: u32, surface: WlSurface, id: i32, position: (f64, f64), )
source§fn up(
&mut self,
_: &Connection,
_: &QueueHandle<Self>,
touch: &WlTouch,
_: u32,
_: u32,
id: i32,
)
fn up( &mut self, _: &Connection, _: &QueueHandle<Self>, touch: &WlTouch, _: u32, _: u32, id: i32, )
source§fn motion(
&mut self,
_: &Connection,
_: &QueueHandle<Self>,
touch: &WlTouch,
_: u32,
id: i32,
position: (f64, f64),
)
fn motion( &mut self, _: &Connection, _: &QueueHandle<Self>, touch: &WlTouch, _: u32, id: i32, position: (f64, f64), )
source§fn cancel(&mut self, _: &Connection, _: &QueueHandle<Self>, touch: &WlTouch)
fn cancel(&mut self, _: &Connection, _: &QueueHandle<Self>, touch: &WlTouch)
source§fn shape(
&mut self,
_: &Connection,
_: &QueueHandle<Self>,
_: &WlTouch,
_: i32,
_: f64,
_: f64,
)
fn shape( &mut self, _: &Connection, _: &QueueHandle<Self>, _: &WlTouch, _: i32, _: f64, _: f64, )
source§fn orientation(
&mut self,
_: &Connection,
_: &QueueHandle<Self>,
_: &WlTouch,
_: i32,
_: f64,
)
fn orientation( &mut self, _: &Connection, _: &QueueHandle<Self>, _: &WlTouch, _: i32, _: f64, )
source§impl WindowHandler for WinitState
impl WindowHandler for WinitState
source§fn request_close(
&mut self,
_: &Connection,
_: &QueueHandle<Self>,
window: &Window,
)
fn request_close( &mut self, _: &Connection, _: &QueueHandle<Self>, window: &Window, )
source§fn configure(
&mut self,
_: &Connection,
_: &QueueHandle<Self>,
window: &Window,
configure: WindowConfigure,
_serial: u32,
)
fn configure( &mut self, _: &Connection, _: &QueueHandle<Self>, window: &Window, configure: WindowConfigure, _serial: u32, )
Auto Trait Implementations§
impl !Freeze for WinitState
impl !RefUnwindSafe for WinitState
impl !Send for WinitState
impl !Sync for WinitState
impl Unpin for WinitState
impl !UnwindSafe for WinitState
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
source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.