Add ThemeChanged variant to Event in iced_sentinel

This commit is contained in:
Héctor Ramón Jiménez 2024-02-27 15:19:26 +01:00
parent 7f7c5ea337
commit c856d2b513
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
13 changed files with 69 additions and 4 deletions

View file

@ -3,6 +3,7 @@ use palette::rgb::{Srgb, Srgba};
/// A color in the `sRGB` color space.
#[derive(Debug, Clone, Copy, PartialEq, Default)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct Color {
/// Red component, 0.0 - 1.0
pub r: f32,

View file

@ -9,11 +9,12 @@
#![doc(
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg"
)]
#![forbid(unsafe_code, rust_2018_idioms)]
#![forbid(unsafe_code)]
#![deny(
missing_debug_implementations,
missing_docs,
unused_results,
rust_2018_idioms,
rustdoc::broken_intra_doc_links
)]
pub mod alignment;