Struct clingo_sys::clingo_part [] [src]

#[repr(C)]
pub struct clingo_part { pub name: *const c_char, pub params: *const clingo_symbol_t, pub size: usize, }

Struct used to specify the program parts that have to be grounded.

Programs may be structured into parts, which can be grounded independently with ::clingo_control_ground. Program parts are mainly interesting for incremental grounding and multi-shot solving. For single-shot solving, program parts are not needed.

Note: Parts of a logic program without an explicit #program specification are by default put into a program called base without arguments.

@see clingo_control_ground()

Fields

< name of the program part

< array of parameters

< number of parameters

Trait Implementations

impl Debug for clingo_part
[src]

Formats the value using the given formatter.

impl Copy for clingo_part
[src]

impl Clone for clingo_part
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more