Struct lsp_types::selection_range::SelectionRange [−][src]
pub struct SelectionRange {
pub range: Range,
pub parent: Option<Box<SelectionRange>>,
}
Expand description
Represents a selection range.
Fields
range: Range
Range of the selection.
parent: Option<Box<SelectionRange>>
The parent selection range containing this range.
Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SelectionRange
impl Send for SelectionRange
impl Sync for SelectionRange
impl Unpin for SelectionRange
impl UnwindSafe for SelectionRange
Blanket Implementations
Mutably borrows from an owned value. Read more