Struct mm0b_parser::TermEntry[][src]

#[repr(C, align(8))]
pub struct TermEntry { pub num_args: U16<LE>, pub sort: u8, pub reserved: u8, pub p_args: U32<LE>, }
Expand description

An entry in the term table, which describes the “signature” of the term/def, the information needed to apply the term and use it in theorems.

Fields

num_args: U16<LE>

The number of arguments to the term.

sort: u8

The high bit is set if this is a def. The low 7 bits give the return sort of the term.

reserved: u8

Padding.

p_args: U32<LE>

The pointer to an args: [Arg; num_args + 1] array, followed by the term’s unify command sequence. args[num_args] is the return type and dependencies, and args[..num_args] are the actual arguments.

Trait Implementations

Get the bytes of this value. Read more

Get the bytes of this value mutably. Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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.