iced-yoda/winit/src/settings.rs

16 lines
441 B
Rust
Raw Normal View History

//! Configure your application.
use std::borrow::Cow;
2020-05-21 00:37:47 +02:00
/// The settings of an application.
#[derive(Debug, Clone, Default)]
pub struct Settings {
/// The identifier of the application.
///
/// If provided, this identifier may be used to identify the application or
/// communicate with it through the windowing system.
pub id: Option<String>,
/// The fonts to load on boot.
pub fonts: Vec<Cow<'static, [u8]>>,
}