Trait rowan::TextLen[][src]

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

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

Required methods

pub fn text_len(self) -> TextSize[src]

The textual length of this primitive.

Loading content...

Implementations on Foreign Types

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

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

impl TextLen for char[src]

Loading content...

Implementors

Loading content...