Struct winit::platform_impl::platform::x11::EventLoopWindowTarget
source · pub struct EventLoopWindowTarget<T> {
xconn: Arc<XConnection>,
wm_delete_window: Atom,
net_wm_ping: Atom,
ime_sender: Sender<ImeRequest>,
root: Window,
ime: RefCell<Ime>,
windows: RefCell<HashMap<WindowId, Weak<UnownedWindow>>>,
redraw_sender: WakeSender<WindowId>,
device_event_filter: Cell<DeviceEventFilter>,
_marker: PhantomData<T>,
}
Fields§
§xconn: Arc<XConnection>
§wm_delete_window: Atom
§net_wm_ping: Atom
§ime_sender: Sender<ImeRequest>
§root: Window
§ime: RefCell<Ime>
§windows: RefCell<HashMap<WindowId, Weak<UnownedWindow>>>
§redraw_sender: WakeSender<WindowId>
§device_event_filter: Cell<DeviceEventFilter>
§_marker: PhantomData<T>
Implementations§
source§impl<T> EventLoopWindowTarget<T>
impl<T> EventLoopWindowTarget<T>
sourcepub(crate) fn x_connection(&self) -> &Arc<XConnection>
pub(crate) fn x_connection(&self) -> &Arc<XConnection>
Returns the XConnection
of this events loop.
pub fn set_device_event_filter(&self, filter: DeviceEventFilter)
sourcepub fn update_device_event_filter(&self, focus: bool)
pub fn update_device_event_filter(&self, focus: bool)
Update the device event filter based on window focus.
pub fn raw_display_handle(&self) -> RawDisplayHandle
Auto Trait Implementations§
impl<T> !RefUnwindSafe for EventLoopWindowTarget<T>
impl<T> !Send for EventLoopWindowTarget<T>
impl<T> !Sync for EventLoopWindowTarget<T>
impl<T> Unpin for EventLoopWindowTarget<T>where T: Unpin,
impl<T> UnwindSafe for EventLoopWindowTarget<T>where T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more