pub struct Verdict {
pub check: &'static str,
pub motor: Option<usize>,
pub value: f64,
pub limit: f64,
pub ok: bool,
}Expand description
One judgement of a cycle: a value the cycle reached against what a part allows.
Fields§
§check: &'static strWhat is judged, e.g. “motor-thermal” or “belt-tension”.
motor: Option<usize>The motor it concerns, where it concerns one.
value: f64§limit: f64§ok: boolTrait Implementations§
impl StructuralPartialEq for Verdict
Auto Trait Implementations§
impl Freeze for Verdict
impl RefUnwindSafe for Verdict
impl Send for Verdict
impl Sync for Verdict
impl Unpin for Verdict
impl UnsafeUnpin for Verdict
impl UnwindSafe for Verdict
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