Struct lsp_types::CallHierarchyItem[][src]

pub struct CallHierarchyItem {
    pub name: String,
    pub kind: SymbolKind,
    pub tags: Option<Vec<SymbolTag>>,
    pub detail: Option<String>,
    pub uri: Url,
    pub range: Range,
    pub selection_range: Range,
    pub data: Option<Value>,
}

Fields

name: String

The name of this item.

kind: SymbolKind

The kind of this item.

tags: Option<Vec<SymbolTag>>

Tags for this item.

detail: Option<String>

More detail for this item, e.g. the signature of a function.

uri: Url

The resource identifier of this item.

range: Range

The range enclosing this symbol not including leading/trailing whitespace but everything else, e.g. comments and code.

selection_range: Range

The range that should be selected and revealed when this symbol is being picked, e.g. the name of a function. Must be contained by the range.

data: Option<Value>

A data entry field that is preserved between a call hierarchy prepare and incloming calls or outgoing calls requests.

Trait Implementations

impl Clone for CallHierarchyItem[src]

impl Debug for CallHierarchyItem[src]

impl<'de> Deserialize<'de> for CallHierarchyItem[src]

impl PartialEq<CallHierarchyItem> for CallHierarchyItem[src]

impl Serialize for CallHierarchyItem[src]

impl StructuralPartialEq for CallHierarchyItem[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.