pub struct ActionRow {
pub candidate: Candidate,
pub action: NextAction,
pub cost: f64,
pub effective: f64,
}Expand description
A task’s row: the candidate, the verb it asks for, and what that verb costs.
Fields§
§candidate: Candidate§action: NextAction§cost: f64§effective: f64score / cost — what the queue ranks by.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ActionRow
impl RefUnwindSafe for ActionRow
impl Send for ActionRow
impl Sync for ActionRow
impl Unpin for ActionRow
impl UnsafeUnpin for ActionRow
impl UnwindSafe for ActionRow
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