pub enum Objective {
VisitAllNodes,
VisitNNodes(usize),
ReachNodeIdx(usize),
ReachDeadEnd,
}Variants§
VisitAllNodes
Visit all of the nodes of the graph (will fail on an incomplete graph)
VisitNNodes(usize)
Visit exactly this many nodes of the graph
ReachNodeIdx(usize)
Visit node indexed by the provided index
ReachDeadEnd
Reach a dead end, this can be useful for going as far down as possible
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Objective
impl RefUnwindSafe for Objective
impl Send for Objective
impl Sync for Objective
impl Unpin for Objective
impl UnsafeUnpin for Objective
impl UnwindSafe for Objective
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