diff options
author | 2021-12-13 15:36:15 +0700 | |
---|---|---|
committer | 2021-12-13 15:36:15 +0700 | |
commit | e24eaa7c665f6b73aa4e9bac4b723cd8d24b78e1 (patch) | |
tree | c94edd5f2ffbabfe8dcd56ab3933f5aabc2ecd83 /native/src/text.rs | |
parent | bc15bfdb67394eb6eaaacec96d919f0f6cfe4efb (diff) | |
parent | d06e6bfb5111c1f2d2fd43c10a0c69870539742f (diff) | |
download | iced-e24eaa7c665f6b73aa4e9bac4b723cd8d24b78e1.tar.gz iced-e24eaa7c665f6b73aa4e9bac4b723cd8d24b78e1.tar.bz2 iced-e24eaa7c665f6b73aa4e9bac4b723cd8d24b78e1.zip |
Merge pull request #1155 from AlisCode/refactor/decouple_image
Decouple `image::Handle` from `iced_native` and lower trait bound on `text::Renderer::Font`
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; |