pub struct TacticLibrary { /* private fields */ }Expand description
Library of available tactics
Implementations§
Source§impl TacticLibrary
impl TacticLibrary
Sourcepub fn all_tactics(&self) -> Vec<&dyn Tactic>
pub fn all_tactics(&self) -> Vec<&dyn Tactic>
Get all tactics
Sourcepub fn get_tactic(&self, name: &str) -> Result<&dyn Tactic>
pub fn get_tactic(&self, name: &str) -> Result<&dyn Tactic>
Get a specific tactic
Sourcepub fn suggest_tactics(
&self,
goal: &ProofGoal,
context: &ProofContext,
) -> Result<Vec<TacticSuggestion>>
pub fn suggest_tactics( &self, goal: &ProofGoal, context: &ProofContext, ) -> Result<Vec<TacticSuggestion>>
Suggest tactics for a goal
Auto Trait Implementations§
impl Freeze for TacticLibrary
impl !RefUnwindSafe for TacticLibrary
impl Send for TacticLibrary
impl Sync for TacticLibrary
impl Unpin for TacticLibrary
impl !UnwindSafe for TacticLibrary
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