[][src]Trait text_size::TextLen

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

Text-like structures that have a text size.

Required methods

fn text_len(self) -> TextSize

The size of this text-alike.

Loading content...

Implementations on Foreign Types

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

impl TextLen for char[src]

impl<'_, D> TextLen for &'_ D where
    D: TextLen + Copy
[src]

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

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

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

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

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

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

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

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

Loading content...

Implementors

Loading content...