pub struct BreakdownInput<'a> {
pub parse_ok: bool,
pub type_check_ok: bool,
pub build_ok: bool,
pub errors: &'a [CompilationError],
pub doctest_pass: bool,
pub unit_test_pass: bool,
pub property_test_pass: bool,
pub clippy_clean: bool,
pub tdg_grade_b_or_better: bool,
pub complexity_ok: bool,
pub trace_match: bool,
pub output_equiv: bool,
}Expand description
Input data for calculating score breakdown from error analysis
Fields§
§parse_ok: boolParse succeeded
type_check_ok: boolType check succeeded
build_ok: boolCargo build succeeded
errors: &'a [CompilationError]Compilation errors
doctest_pass: boolDoctests passed
unit_test_pass: boolUnit tests passed
property_test_pass: boolProperty tests passed
clippy_clean: boolClippy clean
tdg_grade_b_or_better: boolTDG grade B or better
complexity_ok: boolComplexity <= 10
trace_match: boolTrace match (Renacer)
output_equiv: boolOutput equivalence
Trait Implementations§
Source§impl<'a> Clone for BreakdownInput<'a>
impl<'a> Clone for BreakdownInput<'a>
Source§fn clone(&self) -> BreakdownInput<'a>
fn clone(&self) -> BreakdownInput<'a>
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<'a> Debug for BreakdownInput<'a>
impl<'a> Debug for BreakdownInput<'a>
Source§impl<'a> Default for BreakdownInput<'a>
impl<'a> Default for BreakdownInput<'a>
Source§fn default() -> BreakdownInput<'a>
fn default() -> BreakdownInput<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for BreakdownInput<'a>
impl<'a> RefUnwindSafe for BreakdownInput<'a>
impl<'a> Send for BreakdownInput<'a>
impl<'a> Sync for BreakdownInput<'a>
impl<'a> Unpin for BreakdownInput<'a>
impl<'a> UnsafeUnpin for BreakdownInput<'a>
impl<'a> UnwindSafe for BreakdownInput<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more