pub enum DocumentSymbolOrRangeBasedVec {
DocumentSymbol(Vec<DocumentSymbol>),
RangeBased(Vec<RangeBasedDocumentSymbol>),
}
Variants§
DocumentSymbol(Vec<DocumentSymbol>)
RangeBased(Vec<RangeBasedDocumentSymbol>)
Trait Implementations§
source§impl<'de> Deserialize<'de> for DocumentSymbolOrRangeBasedVec
impl<'de> Deserialize<'de> for DocumentSymbolOrRangeBasedVec
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 DocumentSymbolOrRangeBasedVec
impl PartialEq for DocumentSymbolOrRangeBasedVec
source§fn eq(&self, other: &DocumentSymbolOrRangeBasedVec) -> bool
fn eq(&self, other: &DocumentSymbolOrRangeBasedVec) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DocumentSymbolOrRangeBasedVec
Auto Trait Implementations§
impl Freeze for DocumentSymbolOrRangeBasedVec
impl RefUnwindSafe for DocumentSymbolOrRangeBasedVec
impl Send for DocumentSymbolOrRangeBasedVec
impl Sync for DocumentSymbolOrRangeBasedVec
impl Unpin for DocumentSymbolOrRangeBasedVec
impl UnwindSafe for DocumentSymbolOrRangeBasedVec
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