pub struct WhichKeyPluginWindow { /* private fields */ }Expand description
Plugin window for rendering the which-key panel
Trait Implementations§
Source§impl PluginWindow for WhichKeyPluginWindow
impl PluginWindow for WhichKeyPluginWindow
Source§fn window_config(
&self,
_state: &Arc<PluginStateRegistry>,
ctx: &EditorContext,
) -> Option<WindowConfig>
fn window_config( &self, _state: &Arc<PluginStateRegistry>, ctx: &EditorContext, ) -> Option<WindowConfig>
Get window configuration (position, size, visibility, z-order) Read more
Source§fn render(
&self,
_state: &Arc<PluginStateRegistry>,
_ctx: &EditorContext,
buffer: &mut FrameBuffer,
bounds: Rect,
theme: &Theme,
)
fn render( &self, _state: &Arc<PluginStateRegistry>, _ctx: &EditorContext, buffer: &mut FrameBuffer, bounds: Rect, theme: &Theme, )
Render content into the window bounds Read more
Auto Trait Implementations§
impl Freeze for WhichKeyPluginWindow
impl RefUnwindSafe for WhichKeyPluginWindow
impl Send for WhichKeyPluginWindow
impl Sync for WhichKeyPluginWindow
impl Unpin for WhichKeyPluginWindow
impl UnwindSafe for WhichKeyPluginWindow
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