Open
Description
LCDColorFmt should be const_trait
Line 146 in ea28ed4
Source of this issue
}
// TODO: LCDColorFmt should be const_trait
pub trait LCDColorFmt<'t> {
type Display: 't + core::fmt::Debug + core::fmt::Display;
fn display(&'t self) -> Self::Display;
}
impl<'t> LCDColorFmt<'t> for LCDSolidColor {
type Display = LCDColorDisplay<'t, Self>;
fn display(&self) -> LCDColorDisplay<'_, Self> { LCDColorDisplay(self) }
}
Metadata
Assignees
Projects
Status
No status