summaryrefslogtreecommitdiffstats
path: root/winit/src/settings.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector@hecrj.dev>2024-06-20 01:23:01 +0200
committerLibravatar GitHub <noreply@github.com>2024-06-20 01:23:01 +0200
commit714d4503154a6224c26f2eed6e399c73d57b4bf8 (patch)
tree9456eb2d40f2761c29dfa51f370efe11dc22f5e5 /winit/src/settings.rs
parent19db068bbbebcda1756720525da247f35bd3a5e0 (diff)
parentc5f4bebeda8d6ef10efade7933a5ee58f06b62d1 (diff)
downloadiced-714d4503154a6224c26f2eed6e399c73d57b4bf8.tar.gz
iced-714d4503154a6224c26f2eed6e399c73d57b4bf8.tar.bz2
iced-714d4503154a6224c26f2eed6e399c73d57b4bf8.zip
Merge pull request #2469 from iced-rs/unify-shell-runtimes
`Daemon` API and Shell Runtime Unification
Diffstat (limited to 'winit/src/settings.rs')
-rw-r--r--winit/src/settings.rs12
1 files changed, 1 insertions, 11 deletions
diff --git a/winit/src/settings.rs b/winit/src/settings.rs
index 2e541128..78368a04 100644
--- a/winit/src/settings.rs
+++ b/winit/src/settings.rs
@@ -1,25 +1,15 @@
//! Configure your application.
-use crate::core::window;
-
use std::borrow::Cow;
/// The settings of an application.
#[derive(Debug, Clone, Default)]
-pub struct Settings<Flags> {
+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 [`window::Settings`].
- pub window: window::Settings,
-
- /// The data needed to initialize an [`Application`].
- ///
- /// [`Application`]: crate::Application
- pub flags: Flags,
-
/// The fonts to load on boot.
pub fonts: Vec<Cow<'static, [u8]>>,
}