pub trait StaticWidget: DynamicWidget {
const WIDTH_CHARACTERS: usize;
const HEIGHT_CHARACTERS: usize;
}Required Associated Constants§
Sourceconst WIDTH_CHARACTERS: usize
const WIDTH_CHARACTERS: usize
Width of the display in characters.
Sourceconst HEIGHT_CHARACTERS: usize
const HEIGHT_CHARACTERS: usize
Height of the display in characters.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.