mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-02 04:42:33 +00:00
14 lines
265 B
Rust
14 lines
265 B
Rust
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) {}
|
|
}
|