Remove HasColor
This commit is contained in:
parent
56bf0d759f
commit
14499e4659
2 changed files with 1 additions and 21 deletions
|
@ -26,12 +26,6 @@ pub struct Color {
|
|||
pub a: u8,
|
||||
}
|
||||
|
||||
/// Allows text to be colored during rendering.
|
||||
pub trait HasColor: Copy {
|
||||
/// The color to use when rendering text.
|
||||
fn color(&self) -> Color;
|
||||
}
|
||||
|
||||
pub(crate) enum GpuCache {
|
||||
InAtlas { x: u16, y: u16 },
|
||||
SkipRasterization,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue