pub enum CompilerProfile {
Speed,
Memory,
}Expand description
Profile to use when compiling rules.
Variants§
Speed
Prioritize scan speed.
This profile will strive to get the best possible scan speed by using more memory when possible.
Memory
Prioritize memory usage
This profile will strive to reduce memory usage as much as possible, even if it means a slower scan speed overall.
Trait Implementations§
Source§impl Clone for CompilerProfile
impl Clone for CompilerProfile
Source§fn clone(&self) -> CompilerProfile
fn clone(&self) -> CompilerProfile
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 CompilerProfile
impl Debug for CompilerProfile
Source§impl Default for CompilerProfile
impl Default for CompilerProfile
Source§fn default() -> CompilerProfile
fn default() -> CompilerProfile
Returns the “default value” for a type. Read more
Source§impl PartialEq for CompilerProfile
impl PartialEq for CompilerProfile
impl Copy for CompilerProfile
impl Eq for CompilerProfile
impl StructuralPartialEq for CompilerProfile
Auto Trait Implementations§
impl Freeze for CompilerProfile
impl RefUnwindSafe for CompilerProfile
impl Send for CompilerProfile
impl Sync for CompilerProfile
impl Unpin for CompilerProfile
impl UnwindSafe for CompilerProfile
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