Skip to main content

Mountain/RPC/
Windows.rs

1#![allow(non_snake_case)]
2
3//! Window-management RPC service. Placeholder for the Grove + Cocoon
4//! extension-host roadmap (window/document/webview lifecycle).
5//! Cfg-gated `pub struct Struct`. TODO: zero callers as of 2026-05-02.
6
7#[cfg(any(feature = "grove", feature = "cocoon"))]
8pub struct Struct;
9
10#[cfg(any(feature = "grove", feature = "cocoon"))]
11impl Struct {
12	pub fn new() -> Self { Struct }
13}
14
15#[cfg(any(feature = "grove", feature = "cocoon"))]
16impl Default for Struct {
17	fn default() -> Self { Self::new() }
18}