mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2026-05-30 19:43:38 +02:00
This commit is contained in:
parent
30d378a6ee
commit
bea88ac58d
5 changed files with 27 additions and 15 deletions
|
|
@ -17,6 +17,11 @@ pub(crate) use ::unicode_width::*;
|
|||
self.as_str().draw(to)
|
||||
}
|
||||
}
|
||||
impl Draw<Tui> for &std::sync::Arc<str> {
|
||||
fn draw (self, to: &mut Tui) -> Usually<XYWH<u16>> {
|
||||
self.as_ref().draw(to)
|
||||
}
|
||||
}
|
||||
impl Draw<Tui> for std::sync::Arc<str> {
|
||||
fn draw (self, to: &mut Tui) -> Usually<XYWH<u16>> {
|
||||
self.as_ref().draw(to)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue