Struct languageserver_types::Range [−][src]
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]
impl Range
Trait Implementations
impl Debug for Range
[src]
impl Debug for Range
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for Range
[src]
impl Eq for Range
impl PartialEq for Range
[src]
impl PartialEq for Range
fn eq(&self, other: &Range) -> bool
[src]
fn eq(&self, other: &Range) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Range) -> bool
[src]
fn ne(&self, other: &Range) -> bool
This method tests for !=
.
impl Copy for Range
[src]
impl Copy for Range
impl Clone for Range
[src]
impl Clone for Range
fn clone(&self) -> Range
[src]
fn clone(&self) -> Range
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for Range
[src]
impl Default for Range