diff options
author | 2025-03-20 11:57:26 +0000 | |
---|---|---|
committer | 2025-03-20 11:57:26 +0000 | |
commit | 27b099c895825ee03555fd7bdaa8cefdb2125ead (patch) | |
tree | 4b77fc19db7785884c4a67e85e452bb140e13688 /core/src/text.rs | |
parent | bae25b74f68078e5ff74cdae717273cf315d4e90 (diff) | |
download | iced-master.tar.gz iced-master.tar.bz2 iced-master.zip |
WIP: background image supportmaster
Diffstat (limited to 'core/src/text.rs')
-rw-r--r-- | core/src/text.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/text.rs b/core/src/text.rs index a7e1f281..8a6ff140 100644 --- a/core/src/text.rs +++ b/core/src/text.rs @@ -16,7 +16,7 @@ use std::borrow::Cow; use std::hash::{Hash, Hasher}; /// A paragraph. -#[derive(Debug, Clone, Copy)] +#[derive(Debug, Clone)] pub struct Text<Content = String, Font = crate::Font> { /// The content of the paragraph. pub content: Content, @@ -271,7 +271,7 @@ pub struct Span<'a, Link = (), Font = crate::Font> { } /// A text highlight. -#[derive(Debug, Clone, Copy, PartialEq)] +#[derive(Debug, Clone, PartialEq)] pub struct Highlight { /// The [`Background`] of the highlight. pub background: Background, |