Struct lsp::types::Location[][src]

pub struct Location {
    pub uri: String,
    pub range: Range,
}

Represents a location inside a resource, such as a line inside a text file.

Fields

Methods

impl Location
[src]

The Location namespace provides helper functions to work with Location literals.

Creates a Location literal. @param uri The location's uri. @param range The location's range.

Trait Implementations

impl Debug for Location
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Location

impl Sync for Location