Struct chalk_engine::strand::SelectedSubgoal
source · pub(crate) struct SelectedSubgoal {
pub(crate) subgoal_index: usize,
pub(crate) subgoal_table: TableIndex,
pub(crate) answer_index: AnswerIndex,
pub(crate) universe_map: UniverseMap,
}
Fields§
§subgoal_index: usize
The index of the subgoal in ex_clause.subgoals
subgoal_table: TableIndex
The index of the table that we created or found for this subgoal
answer_index: AnswerIndex
Index of the answer we should request next from the table
universe_map: UniverseMap
Maps the universes of the subgoal to the canonical universes used in the table
Trait Implementations§
source§impl Clone for SelectedSubgoal
impl Clone for SelectedSubgoal
source§fn clone(&self) -> SelectedSubgoal
fn clone(&self) -> SelectedSubgoal
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for SelectedSubgoal
impl Send for SelectedSubgoal
impl Sync for SelectedSubgoal
impl Unpin for SelectedSubgoal
impl UnwindSafe for SelectedSubgoal
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