pub struct HierarchyItem {
pub name: String,
pub detail: Option<String>,
pub kind: SymbolKind,
pub location: SymbolLocation,
pub selection_range: Utf16Range,
pub data_json: Option<String>,
}Expand description
A generic cross-file “hierarchy item” (call hierarchy / type hierarchy).
Fields§
§name: StringDisplay name (e.g. function/type name).
detail: Option<String>Optional detail string (e.g. signature).
kind: SymbolKindCoarse kind tag (usually from LSP’s SymbolKind).
location: SymbolLocationCross-file location for navigation.
selection_range: Utf16RangePreferred selection range within the target (usually a tighter span than location.range).
data_json: Option<String>Optional raw integration payload, encoded as JSON text.
Trait Implementations§
Source§impl Clone for HierarchyItem
impl Clone for HierarchyItem
Source§impl Debug for HierarchyItem
impl Debug for HierarchyItem
impl Eq for HierarchyItem
Source§impl PartialEq for HierarchyItem
impl PartialEq for HierarchyItem
impl StructuralPartialEq for HierarchyItem
Auto Trait Implementations§
impl Forget for HierarchyItem
impl Freeze for HierarchyItem
impl Move for HierarchyItem
impl RefUnwindSafe for HierarchyItem
impl Send for HierarchyItemwhere
RawVecInner: Send,
impl Sync for HierarchyItemwhere
RawVecInner: Sync,
impl Unpin for HierarchyItem
impl UnsafeUnpin for HierarchyItem
impl UnwindSafe for HierarchyItemwhere
RawVecInner: UnwindSafe,
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