From 41cdd3e26190f268e1f7c8b2d87b49062c62805e Mon Sep 17 00:00:00 2001 From: DarrienG Date: Sun, 19 May 2019 10:23:56 -0400 Subject: [PATCH] Provide clone and debug for Text type --- src/widgets/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/widgets/mod.rs b/src/widgets/mod.rs index cf726cf7..b69dcc73 100644 --- a/src/widgets/mod.rs +++ b/src/widgets/mod.rs @@ -47,6 +47,7 @@ bitflags! { } } +#[derive(Clone, Debug)] pub enum Text<'b> { Raw(Cow<'b, str>), Styled(Cow<'b, str>, Style),