Struct proto_vulcan::goal::InferredGoal [−][src]
pub struct InferredGoal<U, E, G> where
U: User,
E: Engine<U>,
G: AnyGoal<U, E>, {
pub goal: G,
// some fields omitted
}
Expand description
A wrapper for goals that can be either DFS or BFS.
The correct kind is inferred at compile time from the type of the parent goal constructor parameter where the goal is placed.
Fields
goal: G
Implementations
Trait Implementations
impl<U, E, G> GoalCast<U, E, InferredGoal<U, E, G>> for InferredGoal<U, E, G> where
U: User,
E: Engine<U>,
G: AnyGoal<U, E>,
impl<U, E, G> GoalCast<U, E, InferredGoal<U, E, G>> for InferredGoal<U, E, G> where
U: User,
E: Engine<U>,
G: AnyGoal<U, E>,
Auto Trait Implementations
impl<U, E, G> RefUnwindSafe for InferredGoal<U, E, G> where
E: RefUnwindSafe,
G: RefUnwindSafe,
U: RefUnwindSafe,
impl<U, E, G> Send for InferredGoal<U, E, G> where
E: Send,
G: Send,
U: Send,
impl<U, E, G> Sync for InferredGoal<U, E, G> where
E: Sync,
G: Sync,
U: Sync,
impl<U, E, G> Unpin for InferredGoal<U, E, G> where
E: Unpin,
G: Unpin,
U: Unpin,
impl<U, E, G> UnwindSafe for InferredGoal<U, E, G> where
E: UnwindSafe,
G: UnwindSafe,
U: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more