Skip to main content

StrExt

Trait StrExt 

Source
pub trait StrExt {
    // Required method
    fn point_delta(&self) -> Point;
}

Required Methods§

Source

fn point_delta(&self) -> Point

Returns a Point describing the tree-sitter point that would be reached after inserting this UTF-8 text.

Implementations on Foreign Types§

Source§

impl StrExt for str

Implementors§