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: RegistryStateThe WlRegistry.
output_state: OutputStateThe 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: SeatStateThe seat state responsible for all sorts of input.
shm: ShmThe shm for software buffers, such as cursors.
custom_cursor_pool: Arc<Mutex<SlotPool>>The pool where custom cursors are allocated.
xdg_shell: XdgShellThe 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: EventSinkSink 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: boolWhether 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 UnsafeUnpin 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.