RangeLike

Trait RangeLike 

Source
pub trait RangeLike {
    // Required methods
    fn to_location(&self, url: &Url) -> Location;
    fn to_lsp_range(&self) -> Range;
}

Required Methods§

Source

fn to_location(&self, url: &Url) -> Location

Source

fn to_lsp_range(&self) -> Range

Implementations on Foreign Types§

Source§

impl RangeLike for Range

Implementors§