pub struct VirtualChoice {
pub index_number: i32,
pub index_string: String,
pub arguments: Vec<usize>,
pub recheck: Vec<usize>,
pub ordered: bool,
}Expand description
What a module answered when it was shown the offer.
Fields§
§index_number: i32The plan number, passed back to the module’s filter.
index_string: StringThe plan string, passed back to the module’s filter.
arguments: Vec<usize>The offer positions whose values feed filter, in argument order.
recheck: Vec<usize>The offer positions the engine must still test for itself.
Everything the module did not take, and everything it took without
promising to apply. A module that says omit is promising; anything
else and the predicate is tested twice, which is the safe direction.
ordered: boolWhether the module will produce the requested order by itself.
Trait Implementations§
Source§impl Clone for VirtualChoice
impl Clone for VirtualChoice
Source§impl Debug for VirtualChoice
impl Debug for VirtualChoice
Source§impl PartialEq for VirtualChoice
impl PartialEq for VirtualChoice
impl StructuralPartialEq for VirtualChoice
Auto Trait Implementations§
impl Freeze for VirtualChoice
impl RefUnwindSafe for VirtualChoice
impl Send for VirtualChoice
impl Sync for VirtualChoice
impl Unpin for VirtualChoice
impl UnsafeUnpin for VirtualChoice
impl UnwindSafe for VirtualChoice
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