From 27b099c895825ee03555fd7bdaa8cefdb2125ead Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Thu, 20 Mar 2025 11:57:26 +0000 Subject: WIP: background image support --- core/src/text.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/src/text.rs') 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 { /// 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, -- cgit