iced_winit/
settings.rs

1//! Configure your application.
2use std::borrow::Cow;
3
4/// The settings of an application.
5#[derive(Debug, Clone, Default)]
6pub struct Settings {
7    /// The identifier of the application.
8    ///
9    /// If provided, this identifier may be used to identify the application or
10    /// communicate with it through the windowing system.
11    pub id: Option<String>,
12
13    /// The fonts to load on boot.
14    pub fonts: Vec<Cow<'static, [u8]>>,
15
16    /// Whether the application should exit when no windows are left
17    pub is_daemon: bool,
18}