pub struct TacticEnv { /* private fields */ }Expand description
A registry of USER-DEFINED tactics (M) — the metaprogramming seam. A user names a
composite tactic (built from primitives and combinators) with TacticEnv::define, and
may then reference it BY NAME in any later script, including from within other
user-defined tactics. This is “write your own tactic in the language”, without Rust —
the definitions are stored as source and re-expanded (depth-bounded, so a recursive
definition is rejected rather than looping) wherever the name appears.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TacticEnv
impl RefUnwindSafe for TacticEnv
impl Send for TacticEnv
impl Sync for TacticEnv
impl Unpin for TacticEnv
impl UnsafeUnpin for TacticEnv
impl UnwindSafe for TacticEnv
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