Enum sway_core::CompileAstResult
source · [−]pub enum CompileAstResult {
Success {
parse_tree: Box<TypedParseTree>,
tree_type: TreeType,
warnings: Vec<CompileWarning>,
},
Failure {
warnings: Vec<CompileWarning>,
errors: Vec<CompileError>,
},
}
Variants
Success
Failure
Auto Trait Implementations
impl RefUnwindSafe for CompileAstResult
impl Send for CompileAstResult
impl Sync for CompileAstResult
impl Unpin for CompileAstResult
impl UnwindSafe for CompileAstResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more