Struct mm0b_parser::TermRef[][src]

pub struct TermRef<'a> {
    pub tid: TermId,
    // some fields omitted
}
Expand description

A reference to an entry in the term table.

Fields

tid: TermId

The index into the term table.

Implementations

Returns true if this is a def, false for a term.

The return sort of this term/def.

The list of arguments of this term/def, not including the return).

Get the termdef’s arguments as a slice, INCLUDING the return type

The return sort and dependencies.

The beginning of the unify stream for the term.

Trait Implementations

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.