Enum lsp_types::lsif::LocationOrRangeId
source · pub enum LocationOrRangeId {
Location(Location),
RangeId(Id),
}
Variants§
Trait Implementations§
source§impl Debug for LocationOrRangeId
impl Debug for LocationOrRangeId
source§impl<'de> Deserialize<'de> for LocationOrRangeId
impl<'de> Deserialize<'de> for LocationOrRangeId
source§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
source§impl PartialEq for LocationOrRangeId
impl PartialEq for LocationOrRangeId
source§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 ==
.source§impl Serialize for LocationOrRangeId
impl Serialize for LocationOrRangeId
impl StructuralPartialEq for LocationOrRangeId
Auto Trait Implementations§
impl Freeze for LocationOrRangeId
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