pub struct CompilerConfig {
pub detect_conflicts: bool,
pub enable_optimization: bool,
pub max_routes_warning: usize,
pub performance_analysis: bool,
}
Expand description
Configuration for route compilation
Fields§
§detect_conflicts: bool
Enable conflict detection
enable_optimization: bool
Enable route optimization
max_routes_warning: usize
Maximum number of routes before warning
performance_analysis: bool
Enable performance analysis
Trait Implementations§
Source§impl Clone for CompilerConfig
impl Clone for CompilerConfig
Source§fn clone(&self) -> CompilerConfig
fn clone(&self) -> CompilerConfig
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 CompilerConfig
impl Debug for CompilerConfig
Auto Trait Implementations§
impl Freeze for CompilerConfig
impl RefUnwindSafe for CompilerConfig
impl Send for CompilerConfig
impl Sync for CompilerConfig
impl Unpin for CompilerConfig
impl UnwindSafe for CompilerConfig
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