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§fn clone(&self) -> Neighborhood
fn clone(&self) -> Neighborhood
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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<Neighborhood, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Neighborhood, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for Neighborhood
impl Serialize for Neighborhood
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. 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