pub struct RuleStage<'a, E> { /* private fields */ }Implementations§
Source§impl<'a, E> RuleStage<'a, E>
impl<'a, E> RuleStage<'a, E>
pub fn new( stage: OptimizationStage, rules: Vec<&'a dyn OptimizerRule<E>>, ) -> RuleStage<'a, E>
pub fn stage(&self) -> &OptimizationStage
pub fn rules(&self) -> &[&'a dyn OptimizerRule<E>]
Auto Trait Implementations§
impl<'a, E> !RefUnwindSafe for RuleStage<'a, E>
impl<'a, E> !Send for RuleStage<'a, E>
impl<'a, E> !Sync for RuleStage<'a, E>
impl<'a, E> !UnwindSafe for RuleStage<'a, E>
impl<'a, E> Freeze for RuleStage<'a, E>
impl<'a, E> Unpin for RuleStage<'a, E>
impl<'a, E> UnsafeUnpin for RuleStage<'a, E>
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