pub struct ProphecyEngine { /* private fields */ }Expand description
The prophecy engine: predicts future problems based on historical patterns.
Implementations§
Source§impl ProphecyEngine
impl ProphecyEngine
Sourcepub fn with_options(options: ProphecyOptions) -> Self
pub fn with_options(options: ProphecyOptions) -> Self
Create a new prophecy engine with custom options.
Sourcepub fn predict(
&self,
history: &ChangeHistory,
graph: Option<&CodeGraph>,
) -> ProphecyResult
pub fn predict( &self, history: &ChangeHistory, graph: Option<&CodeGraph>, ) -> ProphecyResult
Run predictions on the codebase.
Analyses change history and the code graph to produce predictions and ecosystem alerts.
Trait Implementations§
Source§impl Clone for ProphecyEngine
impl Clone for ProphecyEngine
Source§fn clone(&self) -> ProphecyEngine
fn clone(&self) -> ProphecyEngine
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 ProphecyEngine
impl Debug for ProphecyEngine
Auto Trait Implementations§
impl Freeze for ProphecyEngine
impl RefUnwindSafe for ProphecyEngine
impl Send for ProphecyEngine
impl Sync for ProphecyEngine
impl Unpin for ProphecyEngine
impl UnsafeUnpin for ProphecyEngine
impl UnwindSafe for ProphecyEngine
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