Derive Debug, Clone, Copy for widgets
This commit is contained in:
parent
f25ce49e77
commit
caca3b6ef1
8 changed files with 8 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ use async_trait::async_trait;
|
|||
|
||||
use crate::{AsyncWidget, Frame, Pos, Size, Widget};
|
||||
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub struct Float<I> {
|
||||
inner: I,
|
||||
horizontal: Option<f32>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue