Enum proto_vulcan::lterm::LTermInner[][src]

pub enum LTermInner<U, E> where
    U: User,
    E: Engine<U>, 
{ Val(LValue), Var(VarID, &'static str), User(<U as User>::UserTerm), Empty, Cons(LTerm<U, E>, LTerm<U, E>), Projection(LTerm<U, E>), Compound(Rc<dyn CompoundObject<U, E>>), }
Expand description

Logic Term.

Variants

Val(LValue)

Literal value

Tuple Fields of Val

0: LValue
Var(VarID, &'static str)

Variable (uid, name)

Tuple Fields of Var

0: VarID1: &'static str
User(<U as User>::UserTerm)

Tuple Fields of User

0: <U as User>::UserTerm
Empty
Cons(LTerm<U, E>, LTerm<U, E>)

Non-empty list

Tuple Fields of Cons

0: LTerm<U, E>1: LTerm<U, E>
Projection(LTerm<U, E>)

Tuple Fields of Projection

0: LTerm<U, E>
Compound(Rc<dyn CompoundObject<U, E>>)

Tuple Fields of Compound

0: Rc<dyn CompoundObject<U, E>>

Trait Implementations

Performs the conversion.

Performs the conversion.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.