You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-firmware/core/embed/rust/src/ui/component/empty.rs

14 lines
265 B

use crate::ui::component::{Component, Event, EventCtx, Never};
pub struct Empty;
impl Component for Empty {
type Msg = Never;
fn event(&mut self, _ctx: &mut EventCtx, _event: Event) -> Option<Self::Msg> {
None
}
fn paint(&mut self) {}
}