pub struct CallQuery {
pub roots: CallRoots,
pub direction: Direction,
pub depth: usize,
pub max_nodes: usize,
pub virtual_calls: bool,
pub from: Option<Query>,
pub unless: Vec<Query>,
}Expand description
A call graph query.
Fields§
§roots: CallRoots§direction: Direction§depth: usizeLevels to expand (1 = direct callers / callees).
max_nodes: usizeStop discovering methods beyond this many (roots included).
virtual_calls: boolFollow virtual dispatch through the class hierarchy (see the module docs).
from: Option<Query>Callers only: keep just the branches that end at a method whose code matches this (the paths from such a method to a root), and stop there.
unless: Vec<Query>Leave out every method whose code matches one of these, with everything reached only through it.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for CallQuery
impl Freeze for CallQuery
impl Move for CallQuery
impl RefUnwindSafe for CallQuery
impl Send for CallQuery
impl Sync for CallQuery
impl Unpin for CallQuery
impl UnsafeUnpin for CallQuery
impl UnwindSafe for CallQuery
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