Enum lsp_types::GotoDefinitionResponse [−][src]
pub enum GotoDefinitionResponse {
Scalar(Location),
Array(Vec<Location>),
Link(Vec<LocationLink>),
}
Expand description
GotoDefinition response can be single location, or multiple Locations or a link.
Variants
Scalar(Location)
Tuple Fields of Scalar
0: Location
Link(Vec<LocationLink>)
Tuple Fields of Link
0: Vec<LocationLink>
Trait Implementations
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
Performs the conversion.
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 GotoDefinitionResponse
impl Send for GotoDefinitionResponse
impl Sync for GotoDefinitionResponse
impl Unpin for GotoDefinitionResponse
impl UnwindSafe for GotoDefinitionResponse
Blanket Implementations
Mutably borrows from an owned value. Read more