diff options
author | 2021-12-10 22:53:00 +0100 | |
---|---|---|
committer | 2021-12-10 23:34:02 +0100 | |
commit | d06e6bfb5111c1f2d2fd43c10a0c69870539742f (patch) | |
tree | d1c7095e32254305c53e9f03f8a3da9510d80275 /native/src/text.rs | |
parent | a7bcd65bb82a2640e10cbe25bf24bc003d059857 (diff) | |
download | iced-d06e6bfb5111c1f2d2fd43c10a0c69870539742f.tar.gz iced-d06e6bfb5111c1f2d2fd43c10a0c69870539742f.tar.bz2 iced-d06e6bfb5111c1f2d2fd43c10a0c69870539742f.zip |
Lower text::Renderer's Font bound from Copy to Clone
Diffstat (limited to 'native/src/text.rs')
-rw-r--r-- | native/src/text.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/text.rs b/native/src/text.rs index 8b9205e3..256a9c5a 100644 --- a/native/src/text.rs +++ b/native/src/text.rs @@ -57,7 +57,7 @@ impl Hit { /// A renderer capable of measuring and drawing [`Text`]. pub trait Renderer: crate::Renderer { /// The font type used. - type Font: Default + Copy; + type Font: Default + Clone; /// The icon font of the backend. const ICON_FONT: Self::Font; |