pub struct CallersResult {
pub symbol: String,
pub file: String,
pub callers: Vec<CallerGroup>,
pub total_callers: usize,
pub scanned_files: usize,
}Expand description
Result of a callers_of query.
Fields§
§symbol: StringTarget symbol queried.
file: StringTarget file queried.
callers: Vec<CallerGroup>Caller groups, one per calling file.
total_callers: usizeTotal number of call sites found.
scanned_files: usizeNumber of files scanned to build the reverse index.
Trait Implementations§
Source§impl Clone for CallersResult
impl Clone for CallersResult
Source§fn clone(&self) -> CallersResult
fn clone(&self) -> CallersResult
Returns a duplicate of the value. Read more
1.0.0 · 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 CallersResult
impl Debug for CallersResult
Auto Trait Implementations§
impl Freeze for CallersResult
impl RefUnwindSafe for CallersResult
impl Send for CallersResult
impl Sync for CallersResult
impl Unpin for CallersResult
impl UnsafeUnpin for CallersResult
impl UnwindSafe for CallersResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more