Enum lsp_types::lsif::DefinitionResultType
source · [−]pub enum DefinitionResultType {
Scalar(LocationOrRangeId),
Array(LocationOrRangeId),
}
Variants
Scalar(LocationOrRangeId)
Array(LocationOrRangeId)
Trait Implementations
sourceimpl Debug for DefinitionResultType
impl Debug for DefinitionResultType
sourceimpl<'de> Deserialize<'de> for DefinitionResultType
impl<'de> Deserialize<'de> for DefinitionResultType
sourcefn 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
sourceimpl PartialEq<DefinitionResultType> for DefinitionResultType
impl PartialEq<DefinitionResultType> for DefinitionResultType
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &DefinitionResultType) -> bool
fn ne(&self, other: &DefinitionResultType) -> bool
This method tests for !=
.
sourceimpl Serialize for DefinitionResultType
impl Serialize for DefinitionResultType
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more