pub enum TransformResult {
Continue(Expr),
Stop(Expr),
Err(Box<dyn Error>),
}Expand description
The result of transforming an expression.
Variants§
Continue(Expr)
Continue transforming the expression. The children of the expression will be transformed.
Stop(Expr)
Stop transforming the expression. It means we will not transform the children of the expression.
Err(Box<dyn Error>)
An error occurred while transforming the expression.
Auto Trait Implementations§
impl Freeze for TransformResult
impl !RefUnwindSafe for TransformResult
impl !Send for TransformResult
impl !Sync for TransformResult
impl Unpin for TransformResult
impl !UnwindSafe for TransformResult
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