Provide clone and debug for Text type

This commit is contained in:
DarrienG 2019-05-19 10:23:56 -04:00 committed by Florian Dehau
parent fe17165c39
commit 41cdd3e261

View file

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