Provide clone and debug for Text type

pull/156/head
DarrienG 5 years ago committed by Florian Dehau
parent fe17165c39
commit 41cdd3e261

@ -47,6 +47,7 @@ bitflags! {
}
}
#[derive(Clone, Debug)]
pub enum Text<'b> {
Raw(Cow<'b, str>),
Styled(Cow<'b, str>, Style),

Loading…
Cancel
Save