Struct languageserver_types::Range
source · Expand description
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.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Range
impl<'de> Deserialize<'de> for Range
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more