pub struct CompileResult {
pub tree: DecisionTree,
pub unreachable_arms: Vec<usize>,
pub missing_patterns: Vec<Vec<Pattern>>,
}Expand description
Result of compilation.
Fields§
§tree: DecisionTreeThe decision tree
unreachable_arms: Vec<usize>Indices of unreachable arms (redundancy)
missing_patterns: Vec<Vec<Pattern>>Missing constructor patterns (for exhaustiveness errors)
Trait Implementations§
Source§impl Clone for CompileResult
impl Clone for CompileResult
Auto Trait Implementations§
impl !Send for CompileResult
impl !Sync for CompileResult
impl Forget for CompileResult
impl Freeze for CompileResult
impl Move for CompileResult
impl RefUnwindSafe for CompileResult
impl Unpin for CompileResult
impl UnsafeUnpin for CompileResult
impl UnwindSafe for CompileResult
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