[][src]Trait text_size::TextLen

pub trait TextLen: Copy + Sealed {
    fn text_len(self) -> TextSize;
}
[]

Primitives with a textual length that can be passed to TextSize::of.

Required methods

fn text_len(self) -> TextSize[]

The textual length of this primitive.

Implementations on Foreign Types

impl<'_> TextLen for &'_ str[src][]

impl<'_> TextLen for &'_ String[src][]

impl TextLen for char[src][]

Implementors