Enum proto_vulcan::stream::Lazy [−][src]
pub enum Lazy<U: User, E: Engine<U>> {
Bind(LazyStream<U, E>, Goal<U, E>),
MPlus(LazyStream<U, E>, LazyStream<U, E>),
Pause(Box<State<U, E>>, Goal<U, E>),
BindDFS(LazyStream<U, E>, DFSGoal<U, E>),
MPlusDFS(LazyStream<U, E>, LazyStream<U, E>),
PauseDFS(Box<State<U, E>>, DFSGoal<U, E>),
Delay(Stream<U, E>),
Iterator(Box<dyn StreamIterator<U, E>>),
}
Variants
Bind(LazyStream<U, E>, Goal<U, E>)
Tuple Fields of Bind
0: LazyStream<U, E>
1: Goal<U, E>
MPlus(LazyStream<U, E>, LazyStream<U, E>)
Tuple Fields of MPlus
0: LazyStream<U, E>
1: LazyStream<U, E>
BindDFS(LazyStream<U, E>, DFSGoal<U, E>)
Tuple Fields of BindDFS
0: LazyStream<U, E>
1: DFSGoal<U, E>
MPlusDFS(LazyStream<U, E>, LazyStream<U, E>)
Tuple Fields of MPlusDFS
0: LazyStream<U, E>
1: LazyStream<U, E>
Delay(Stream<U, E>)
Tuple Fields of Delay
0: Stream<U, E>
Iterator(Box<dyn StreamIterator<U, E>>)
Tuple Fields of Iterator
0: Box<dyn StreamIterator<U, E>>
Trait Implementations
Auto Trait Implementations
impl<U, E> !RefUnwindSafe for Lazy<U, E>
impl<U, E> !UnwindSafe for Lazy<U, E>
Blanket Implementations
Mutably borrows from an owned value. Read more