Files
VoelinClient/crates/voelin-ui-vm/src/lib.rs
T
faumarayandClaude Sonnet 5.5 26ee8c38c1 Document the fields of the mirrored bridge structs and lift the exemption
The gate minor "field docs on the mirrored bridge structs" was answered with
`#![allow(missing_docs)]` on `bridge` and `studio_bridge`, and the crate's
comment said 400 or so fields. The two modules have 559 pub fields; 210
carried a comment of the .slint files and 349 (288 and 61) had none there.
Each of those is described now, from the code that fills it (the producers
in the view model and in voelin-ui, the settings keys' own documentation,
the gateway protocol's types), and the allow is gone: `#![warn(missing_docs)]`
holds for the whole crate and clippy -D warnings fails on a field without a
comment (checked by deleting one). docs/ui.md and lib.rs give the real
numbers.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 19:56:38 +03:00

36 lines
863 B
Rust

//! Toolkit-free view models of the desktop client: engine state turned into
//! plain rows and forms, with the logic that decides what the screens show.
//! Neither Slint nor GPUI is a dependency; each front end converts these
//! types (docs/ui.md, "Two crates").
// Every public item is documented, the 559 fields of the two mirror modules
// (`bridge`, `studio_bridge`) included.
#![warn(missing_docs)]
pub mod avatar;
pub mod bbcode;
pub mod bridge;
pub mod chat;
pub mod color;
pub mod dev;
pub mod emoji;
pub mod events;
pub mod home;
pub mod host;
pub mod image;
pub mod list;
pub mod previews;
pub mod servers;
pub mod settings;
pub mod settings_page;
pub mod settings_pages;
pub mod social;
pub mod state;
pub mod streams;
pub mod studio;
pub mod studio_bridge;
pub mod tree;
pub use color::Rgb;
pub use image::{ImageRef, ImageSource, Pixels, Size};