[][src]Trait rowan::TextLen

pub trait TextLen: Sealed + Copy {
    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.

Loading content...

Implementations on Foreign Types

impl TextLen for char[src]

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

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

Loading content...

Implementors

Loading content...