summaryrefslogtreecommitdiffstats
path: root/core/src/text.rs
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@bunny.garden>2025-03-20 11:57:26 +0000
committerLibravatar cel 🌸 <cel@bunny.garden>2025-03-20 11:57:26 +0000
commit27b099c895825ee03555fd7bdaa8cefdb2125ead (patch)
tree4b77fc19db7785884c4a67e85e452bb140e13688 /core/src/text.rs
parentbae25b74f68078e5ff74cdae717273cf315d4e90 (diff)
downloadiced-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.rs4
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,