Enum lsp_types::request::TypeHierarchyPrepare
source · pub enum TypeHierarchyPrepare {}
Expand description
The type hierarchy request is sent from the client to the server to return a type hierarchy for the language element of given text document positions. Will return null if the server couldn’t infer a valid type from the position. The type hierarchy requests are executed in two steps:
- first a type hierarchy item is prepared for the given text document position.
- for a type hierarchy item the supertype or subtype type hierarchy items are resolved.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TypeHierarchyPrepare
impl RefUnwindSafe for TypeHierarchyPrepare
impl Send for TypeHierarchyPrepare
impl Sync for TypeHierarchyPrepare
impl Unpin for TypeHierarchyPrepare
impl UnwindSafe for TypeHierarchyPrepare
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