Open
Description
Is this intentionally missing ?
Would be nice :)
impl TextLen for &'_ Arc<String> {
fn text_len(self) -> TextSize {
use std::ops::Deref;
self.deref().text_len()
}
}
TextSize::of:
Types that don't dereference to str but want to be usable in this constructor can implement TextLen.
But the trait is Sealed without a rationale :(
Metadata
Metadata
Assignees
Labels
No labels