Lower text::Renderer's Font bound from Copy to Clone
This commit is contained in:
parent
a7bcd65bb8
commit
d06e6bfb51
8 changed files with 25 additions and 24 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue