pub struct CallGraphGeneratorPipeline { /* private fields */ }Implementations§
Source§impl CallGraphGeneratorPipeline
impl CallGraphGeneratorPipeline
pub fn new() -> Self
Sourcepub fn add_step(&mut self, step: Box<dyn CallGraphGeneratorStep>)
pub fn add_step(&mut self, step: Box<dyn CallGraphGeneratorStep>)
Adds a step to the pipeline. Steps are enabled by default.
Sourcepub fn enable_step(&mut self, name: &str)
pub fn enable_step(&mut self, name: &str)
Enables a step by its name.
Sourcepub fn disable_step(&mut self, name: &str)
pub fn disable_step(&mut self, name: &str)
Disables a step by its name.
pub fn run( &mut self, input: CallGraphGeneratorInput, ctx: &mut CallGraphGeneratorContext, graph: &mut CallGraph, config: &HashMap<String, String>, ) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CallGraphGeneratorPipeline
impl !RefUnwindSafe for CallGraphGeneratorPipeline
impl !Send for CallGraphGeneratorPipeline
impl !Sync for CallGraphGeneratorPipeline
impl Unpin for CallGraphGeneratorPipeline
impl !UnwindSafe for CallGraphGeneratorPipeline
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