pub struct Neighborhood {
pub definition: SymbolRef,
pub callers: Vec<SymbolRef>,
pub callees: Vec<SymbolRef>,
pub imports: Vec<SymbolRef>,
pub stale: bool,
}Expand description
The structural neighborhood of a symbol: its definition site plus all callers, callees, and imports known to the index.
Fields§
§definition: SymbolRef§callers: Vec<SymbolRef>§callees: Vec<SymbolRef>§imports: Vec<SymbolRef>§stale: booltrue when the underlying file has been modified since the last index run.
Trait Implementations§
Source§impl Clone for Neighborhood
impl Clone for Neighborhood
Source§impl Debug for Neighborhood
impl Debug for Neighborhood
Source§impl<'de> Deserialize<'de> for Neighborhood
impl<'de> Deserialize<'de> for Neighborhood
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
Auto Trait Implementations§
impl Forget for Neighborhood
impl Freeze for Neighborhood
impl Move for Neighborhood
impl RefUnwindSafe for Neighborhood
impl Send for Neighborhood
impl Sync for Neighborhood
impl Unpin for Neighborhood
impl UnsafeUnpin for Neighborhood
impl UnwindSafe for Neighborhood
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