pub enum WindowKind {
FullInstance,
Subwindow,
}Expand description
Window role in the multi-window model — the single definition, used by
the host (agentmux-cef::state re-exports it) and deserialized by the
launcher. The host used to carry a byte-identical private copy and map
between the two variant by variant; that copy is gone
(docs/reports/REPORT_DRY_AND_MODULARITY_AUDIT_2026_09_06.md §2.2).
Variants§
FullInstance
Independent AgentMux window. Appears in the Windows taskbar.
Subwindow
Hidden from the taskbar; closes when its parent FullInstance closes.
Trait Implementations§
Source§impl Clone for WindowKind
impl Clone for WindowKind
Source§fn clone(&self) -> WindowKind
fn clone(&self) -> WindowKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WindowKind
Source§impl Debug for WindowKind
impl Debug for WindowKind
Source§impl<'de> Deserialize<'de> for WindowKind
impl<'de> Deserialize<'de> for WindowKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WindowKind
Source§impl PartialEq for WindowKind
impl PartialEq for WindowKind
Source§impl Serialize for WindowKind
impl Serialize for WindowKind
impl StructuralPartialEq for WindowKind
Auto Trait Implementations§
impl Freeze for WindowKind
impl RefUnwindSafe for WindowKind
impl Send for WindowKind
impl Sync for WindowKind
impl Unpin for WindowKind
impl UnsafeUnpin for WindowKind
impl UnwindSafe for WindowKind
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