pub struct GlobalData;Expand description
A struct used as the UserData field for globals bound by SCTK.
This is used instead of () to allow multiple Dispatch impls on the same object.
Trait Implementations§
Source§impl Debug for GlobalData
impl Debug for GlobalData
Source§impl<D> Dispatch2<ExtBackgroundEffectManagerV1, D> for GlobalDatawhere
D: BackgroundEffectHandler,
impl<D> Dispatch2<ExtBackgroundEffectManagerV1, D> for GlobalDatawhere
D: BackgroundEffectHandler,
Source§impl<D> Dispatch2<ExtBackgroundEffectSurfaceV1, D> for GlobalData
impl<D> Dispatch2<ExtBackgroundEffectSurfaceV1, D> for GlobalData
Source§impl<D> Dispatch2<ExtForeignToplevelListV1, D> for GlobalDatawhere
D: Dispatch<ExtForeignToplevelHandleV1, ForeignToplevelData> + ForeignToplevelListHandler + 'static,
impl<D> Dispatch2<ExtForeignToplevelListV1, D> for GlobalDatawhere
D: Dispatch<ExtForeignToplevelHandleV1, ForeignToplevelData> + ForeignToplevelListHandler + 'static,
Source§impl<D> Dispatch2<ExtSessionLockManagerV1, D> for GlobalData
impl<D> Dispatch2<ExtSessionLockManagerV1, D> for GlobalData
Source§impl<D> Dispatch2<WlCompositor, D> for GlobalDatawhere
D: CompositorHandler,
impl<D> Dispatch2<WlCompositor, D> for GlobalDatawhere
D: CompositorHandler,
Source§impl<D> Dispatch2<WlDataDeviceManager, D> for GlobalData
impl<D> Dispatch2<WlDataDeviceManager, D> for GlobalData
Source§impl<D> Dispatch2<WlShm, D> for GlobalDatawhere
D: ShmHandler,
impl<D> Dispatch2<WlShm, D> for GlobalDatawhere
D: ShmHandler,
Source§impl<D> Dispatch2<WlSubcompositor, D> for GlobalData
impl<D> Dispatch2<WlSubcompositor, D> for GlobalData
Source§impl<State> Dispatch2<WpCursorShapeDeviceV1, State> for GlobalData
impl<State> Dispatch2<WpCursorShapeDeviceV1, State> for GlobalData
fn event( &self, _: &mut State, _: &WpCursorShapeDeviceV1, _: <WpCursorShapeDeviceV1 as Proxy>::Event, _: &Connection, _: &QueueHandle<State>, )
fn event_created_child( opcode: u16, _qh: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
Source§impl<State> Dispatch2<WpCursorShapeManagerV1, State> for GlobalData
impl<State> Dispatch2<WpCursorShapeManagerV1, State> for GlobalData
fn event( &self, _: &mut State, _: &WpCursorShapeManagerV1, _: <WpCursorShapeManagerV1 as Proxy>::Event, _: &Connection, _: &QueueHandle<State>, )
fn event_created_child( opcode: u16, _qh: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
Source§impl<D> Dispatch2<WpPresentation, D> for GlobalDatawhere
D: PresentationTimeHandler,
impl<D> Dispatch2<WpPresentation, D> for GlobalDatawhere
D: PresentationTimeHandler,
Source§impl<D> Dispatch2<XdgActivationV1, D> for GlobalDatawhere
D: ActivationHandler,
impl<D> Dispatch2<XdgActivationV1, D> for GlobalDatawhere
D: ActivationHandler,
Source§impl<D> Dispatch2<XdgWmBase, D> for GlobalData
impl<D> Dispatch2<XdgWmBase, D> for GlobalData
Source§impl<D> Dispatch2<XxInputMethodManagerV2, D> for GlobalDatawhere
D: InputMethodHandler,
impl<D> Dispatch2<XxInputMethodManagerV2, D> for GlobalDatawhere
D: InputMethodHandler,
Source§impl<D> Dispatch2<XxKeyboardFilterManagerV1, D> for GlobalData
impl<D> Dispatch2<XxKeyboardFilterManagerV1, D> for GlobalData
fn event( &self, _data: &mut D, _manager: &XxKeyboardFilterManagerV1, _event: Event, _conn: &Connection, _qh: &QueueHandle<D>, )
fn event_created_child( opcode: u16, _qh: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
Source§impl<D> Dispatch2<XxKeyboardFilterV1, D> for GlobalData
impl<D> Dispatch2<XxKeyboardFilterV1, D> for GlobalData
fn event( &self, _data: &mut D, _keyboard: &XxKeyboardFilterV1, _event: Event, _conn: &Connection, _qh: &QueueHandle<D>, )
fn event_created_child( opcode: u16, _qh: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
Source§impl<D> Dispatch2<ZwlrLayerShellV1, D> for GlobalDatawhere
D: LayerShellHandler + 'static,
impl<D> Dispatch2<ZwlrLayerShellV1, D> for GlobalDatawhere
D: LayerShellHandler + 'static,
Source§impl<D> Dispatch2<ZwpInputMethodManagerV2, D> for GlobalDatawhere
D: InputMethodHandler,
impl<D> Dispatch2<ZwpInputMethodManagerV2, D> for GlobalDatawhere
D: InputMethodHandler,
Source§impl<D> Dispatch2<ZwpLinuxBufferParamsV1, D> for GlobalDatawhere
D: Dispatch<WlBuffer, DmaBufferData> + DmabufHandler + 'static,
impl<D> Dispatch2<ZwpLinuxBufferParamsV1, D> for GlobalDatawhere
D: Dispatch<WlBuffer, DmaBufferData> + DmabufHandler + 'static,
Source§impl<D> Dispatch2<ZwpLinuxDmabufV1, D> for GlobalDatawhere
D: DmabufHandler,
impl<D> Dispatch2<ZwpLinuxDmabufV1, D> for GlobalDatawhere
D: DmabufHandler,
Source§impl<D> Dispatch2<ZwpPointerConstraintsV1, D> for GlobalDatawhere
D: PointerConstraintsHandler,
impl<D> Dispatch2<ZwpPointerConstraintsV1, D> for GlobalDatawhere
D: PointerConstraintsHandler,
Source§impl<D> Dispatch2<ZwpPrimarySelectionDeviceManagerV1, D> for GlobalData
impl<D> Dispatch2<ZwpPrimarySelectionDeviceManagerV1, D> for GlobalData
Source§impl<State> Dispatch2<ZwpPrimarySelectionSourceV1, State> for GlobalDatawhere
State: PrimarySelectionSourceHandler,
impl<State> Dispatch2<ZwpPrimarySelectionSourceV1, State> for GlobalDatawhere
State: PrimarySelectionSourceHandler,
fn event( &self, state: &mut State, proxy: &ZwpPrimarySelectionSourceV1, event: <ZwpPrimarySelectionSourceV1 as Proxy>::Event, conn: &Connection, qhandle: &QueueHandle<State>, )
fn event_created_child( opcode: u16, _qh: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
Source§impl<D> Dispatch2<ZwpRelativePointerManagerV1, D> for GlobalDatawhere
D: RelativePointerHandler,
impl<D> Dispatch2<ZwpRelativePointerManagerV1, D> for GlobalDatawhere
D: RelativePointerHandler,
Source§impl<D> Dispatch2<ZxdgDecorationManagerV1, D> for GlobalDatawhere
D: WindowHandler,
impl<D> Dispatch2<ZxdgDecorationManagerV1, D> for GlobalDatawhere
D: WindowHandler,
Source§impl<D> Dispatch2<ZxdgOutputManagerV1, D> for GlobalDatawhere
D: OutputHandler,
impl<D> Dispatch2<ZxdgOutputManagerV1, D> for GlobalDatawhere
D: OutputHandler,
Auto Trait Implementations§
impl Freeze for GlobalData
impl RefUnwindSafe for GlobalData
impl Send for GlobalData
impl Sync for GlobalData
impl Unpin for GlobalData
impl UnsafeUnpin for GlobalData
impl UnwindSafe for GlobalData
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
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.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.