Struct clingo::ProgramBuilder [] [src]

pub struct ProgramBuilder<'a> { /* fields omitted */ }

Object to build non-ground programs.

Methods

impl<'a> ProgramBuilder<'a>
[src]

[src]

Adds a statement to the program.

Attention: The end() must be called after all statements have been added.

Arguments

  • statement - the statement to add

Errors

[src]

End building a program. The method consumes the program builder.

Trait Implementations

Auto Trait Implementations

impl<'a> Send for ProgramBuilder<'a>

impl<'a> Sync for ProgramBuilder<'a>