pub struct OptimizationStage { /* private fields */ }Implementations§
Source§impl OptimizationStage
impl OptimizationStage
pub const fn new( name: &'static str, apply_order: ApplyOrder, ) -> OptimizationStage
pub fn name(&self) -> &'static str
pub fn apply_order(&self) -> ApplyOrder
pub fn trace(&self, stats: StageStats) -> StageTrace
pub fn execute_rule_batch<E>( &self, expression: &E, rules: &[&dyn OptimizerRule<E>], ) -> StageRuleBatch<E>
Trait Implementations§
Source§impl Clone for OptimizationStage
impl Clone for OptimizationStage
Source§fn clone(&self) -> OptimizationStage
fn clone(&self) -> OptimizationStage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OptimizationStage
impl Debug for OptimizationStage
impl Eq for OptimizationStage
Source§impl PartialEq for OptimizationStage
impl PartialEq for OptimizationStage
impl StructuralPartialEq for OptimizationStage
Auto Trait Implementations§
impl Freeze for OptimizationStage
impl RefUnwindSafe for OptimizationStage
impl Send for OptimizationStage
impl Sync for OptimizationStage
impl Unpin for OptimizationStage
impl UnsafeUnpin for OptimizationStage
impl UnwindSafe for OptimizationStage
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