Trait TextLen
text_size
pub trait TextLen: Copy + Sealed { pub fn text_len(self) -> TextSize; }
Primitives with a textual length that can be passed to TextSize::of.
TextSize::of
pub fn text_len(self) -> TextSize
The textual length of this primitive.
impl TextLen for &str
impl TextLen for &String
impl TextLen for char