Derive Debug, Clone, Copy for widgets

This commit is contained in:
Joscha 2023-02-18 14:07:03 +01:00
parent f25ce49e77
commit caca3b6ef1
8 changed files with 8 additions and 0 deletions

View file

@ -2,6 +2,7 @@ use async_trait::async_trait;
use crate::{AsyncWidget, Frame, Size, Widget};
#[derive(Debug, Clone, Copy)]
pub struct Layer<I1, I2> {
below: I1,
above: I2,