Struct tau_engine::Optimisations
source · pub struct Optimisations {
pub coalesce: bool,
pub matrix: bool,
pub rewrite: bool,
pub shake: bool,
}
Expand description
The types of optimisations to apply to a rule.
Fields§
§coalesce: bool
caalesce the identifier’s expressions into the condition.
matrix: bool
make use of matrix expressions.
rewrite: bool
rewrite inefficient string searches.
shake: bool
tree shake the rule logic to ensure efficiency.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Optimisations
impl Send for Optimisations
impl Sync for Optimisations
impl Unpin for Optimisations
impl UnwindSafe for Optimisations
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