pub struct Definitions(_);
Expand description

Link names and arities to corresponding filters.

For example, if we define a filter def map(f): [.[] | f], then the definitions will associate map/1 to its definition.

Implementations

Start out with only core filters, such as length, keys, …

Does not import filters from the standard library, such as map.

Import a parsed definition, such as obtained from the standard library.

Errors that might occur include undefined variables, for example.

Given a main filter (consisting of definitions and a body), return a finished filter.

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
The number of items that this chain link consists of.
Append the elements in this link to the chain.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.