Struct languageserver_types::Location
[−]
[src]
pub struct Location {
pub uri: Url,
pub range: Range,
}Represents a location inside a resource, such as a line inside a text file.
Fields
uri: Url
range: Range
Methods
impl Location[src]
Trait Implementations
impl Debug for Location[src]
impl PartialEq for Location[src]
fn eq(&self, __arg_0: &Location) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Location) -> bool
This method tests for !=.
impl Clone for Location[src]
fn clone(&self) -> Location
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more