byob-protocol 0.3.9

Client <-> engine messages shared by the desktop UI, web UI and server. Must compile to wasm32 (L1)
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! The layout on the wire (13.11+, cap [`CAP_LAYOUT`]): what the interface shows and in
//! what order (see [`byob_types::layout`]).
//!
//! The engine owns the one layout: it sends [`crate::ServerMsg::Layout`] after the Welcome
//! and whenever it changes (a client's [`crate::ClientMsg::SetLayout`], or the model's
//! `ui_layout` tool), to every client that lists the cap.

pub use byob_types::layout::{ELEMENTS, Element, GROUPS, HEADER, Layout, PRESETS, REGIONS, REPLY, Region, Show, TOOLBAR, element, group, region, view_id};

/// Cap: the peer handles layout messages.
pub const CAP_LAYOUT: &str = "layout";