Enum lsp2::lsif::DefinitionResultType
pub enum DefinitionResultType {
Scalar(LocationOrRangeId),
Array(LocationOrRangeId),
}
Variants§
Scalar(LocationOrRangeId)
Array(LocationOrRangeId)
Trait Implementations§
§impl Debug for DefinitionResultType
impl Debug for DefinitionResultType
§impl<'de> Deserialize<'de> for DefinitionResultType
impl<'de> Deserialize<'de> for DefinitionResultType
§fn deserialize<__D>(
__deserializer: __D
) -> Result<DefinitionResultType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<DefinitionResultType, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq<DefinitionResultType> for DefinitionResultType
impl PartialEq<DefinitionResultType> for DefinitionResultType
§fn eq(&self, other: &DefinitionResultType) -> bool
fn eq(&self, other: &DefinitionResultType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for DefinitionResultType
impl Serialize for DefinitionResultType
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for DefinitionResultType
Auto Trait Implementations§
impl RefUnwindSafe for DefinitionResultType
impl Send for DefinitionResultType
impl Sync for DefinitionResultType
impl Unpin for DefinitionResultType
impl UnwindSafe for DefinitionResultType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more