Struct clingo::AstStatement [] [src]

pub struct AstStatement<'a, T: 'a> { /* fields omitted */ }

Representation of a program statement.

Methods

impl<'a, T> AstStatement<'a, T>
[src]

[src]

Get the location of the statement.

[src]

Get the type of the statement.

[src]

Get a reference to the rule if the statement is a rule.

[src]

Get a reference to the external if the statement type is External.

[src]

Get project signature if the statement type is ProjectAtomSignature.

Trait Implementations

impl<'a, T: Clone + 'a> Clone for AstStatement<'a, T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<'a, T> !Send for AstStatement<'a, T>

impl<'a, T> !Sync for AstStatement<'a, T>