Struct lsp::types::Location [−][src]
Represents a location inside a resource, such as a line inside a text file.
Fields
uri: String
range: Range
Methods
impl Location
[src]
impl Location
The Location namespace provides helper functions to work with Location literals.
pub fn create(uri: String, range: Range) -> Self
[src]
pub fn create(uri: String, range: Range) -> Self
Creates a Location literal. @param uri The location's uri. @param range The location's range.