From d06e6bfb5111c1f2d2fd43c10a0c69870539742f Mon Sep 17 00:00:00 2001 From: Olivier Pinon Date: Fri, 10 Dec 2021 22:53:00 +0100 Subject: Lower text::Renderer's Font bound from Copy to Clone --- native/src/text.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'native/src/text.rs') 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; -- cgit