MCPcopy Create free account
hub / github.com/VimYoung/Spell / SpellLayerShell

Class SpellLayerShell

spell-framework/src/slint_adapter.rs:39–43  ·  view source on GitHub ↗

Previously needed to be implemented, now this struct is called and set internally when [`invoke_spell`](crate::wayland_adapter::SpellWin::invoke_spell) is called.

Source from the content-addressed store, hash-verified

37/// adapter internally uses [Skia](https://skia.org/) 2D graphics library for rendering.
38#[cfg(docsrs)]
39pub type SpellSkiaWinAdapter = SpellSkiaWinAdapterDummy;
40
41/// Previously needed to be implemented, now this struct is called and set internally
42/// when [`invoke_spell`](crate::wayland_adapter::SpellWin::invoke_spell) is called.
43pub struct SpellLayerShell {
44 /// Span storing the logging context for `debug`` statements of slint.
45 pub span: span::Span,
46 slint_event_sender: calloop::channel::Sender<Box<dyn FnOnce() + Send>>,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected