Struct languageserver_types::Range
[−]
[src]
pub struct Range {
pub start: Position,
pub end: Position,
}A range in a text document expressed as (zero-based) start and end positions. A range is comparable to a selection in an editor. Therefore the end position is exclusive.
Fields
start: Position
The range's start position.
end: Position
The range's end position.
Methods
impl Range[src]
Trait Implementations
impl Debug for Range[src]
impl PartialEq for Range[src]
fn eq(&self, __arg_0: &Range) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Range) -> bool[src]
This method tests for !=.
impl Copy for Range[src]
impl Clone for Range[src]
fn clone(&self) -> Range[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more