Enum lsp2::lsif::LocationOrRangeId
pub enum LocationOrRangeId {
Location(Location),
RangeId(NumberOrString),
}
Variants§
Location(Location)
RangeId(NumberOrString)
Trait Implementations§
§impl Debug for LocationOrRangeId
impl Debug for LocationOrRangeId
§impl<'de> Deserialize<'de> for LocationOrRangeId
impl<'de> Deserialize<'de> for LocationOrRangeId
§fn deserialize<__D>(
__deserializer: __D
) -> Result<LocationOrRangeId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<LocationOrRangeId, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq<LocationOrRangeId> for LocationOrRangeId
impl PartialEq<LocationOrRangeId> for LocationOrRangeId
§fn eq(&self, other: &LocationOrRangeId) -> bool
fn eq(&self, other: &LocationOrRangeId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for LocationOrRangeId
impl Serialize for LocationOrRangeId
§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 LocationOrRangeId
Auto Trait Implementations§
impl RefUnwindSafe for LocationOrRangeId
impl Send for LocationOrRangeId
impl Sync for LocationOrRangeId
impl Unpin for LocationOrRangeId
impl UnwindSafe for LocationOrRangeId
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