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 RangeTrait Implementations
impl Debug for Range[src]
impl Debug for Rangefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for Range[src]
impl Eq for Rangeimpl PartialEq for Range[src]
impl PartialEq for Rangefn eq(&self, other: &Range) -> bool[src]
fn eq(&self, other: &Range) -> boolThis 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) -> boolThis method tests for !=.
impl Copy for Range[src]
impl Copy for Rangeimpl Clone for Range[src]
impl Clone for Rangefn clone(&self) -> Range[src]
fn clone(&self) -> RangeReturns 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