mirror of
https://github.com/ratatui-org/ratatui
synced 2024-11-26 14:40:30 +00:00
Provide clone and debug for Text type
This commit is contained in:
parent
fe17165c39
commit
41cdd3e261
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ bitflags! {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub enum Text<'b> {
|
||||
Raw(Cow<'b, str>),
|
||||
Styled(Cow<'b, str>, Style),
|
||||
|
|
Loading…
Reference in a new issue