pub struct Extractor<L: Language, CF: CostFunction<L>> { /* private fields */ }Expand description
An object used for quickly extracting terms (i.e. RecExprs) using a given CostFunction.
Creating an Extractor will setup an extraction-table which then allows you to extract terms from many e-classes efficiently. It is most useful when doing “bulk” extractions for many classes.
Implementations§
Source§impl<L: Language, CF: CostFunction<L>> Extractor<L, CF>
impl<L: Language, CF: CostFunction<L>> Extractor<L, CF>
Auto Trait Implementations§
impl<L, CF> Freeze for Extractor<L, CF>
impl<L, CF> RefUnwindSafe for Extractor<L, CF>
impl<L, CF> Send for Extractor<L, CF>
impl<L, CF> Sync for Extractor<L, CF>
impl<L, CF> Unpin for Extractor<L, CF>
impl<L, CF> UnsafeUnpin for Extractor<L, CF>
impl<L, CF> UnwindSafe for Extractor<L, CF>
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