pub struct ExpandedDocument<T = Index, B = Index, M = Location<T, Span>>(_);
Expand description

Result of the document expansion algorithm.

It is just an alias for a set of (indexed) objects.

Implementations§

Give an identifier (@id) to every nodes using the given generator to generate fresh identifiers for anonymous nodes.

Give an identifier (@id) to every nodes using the given generator to generate fresh identifiers for anonymous nodes.

Give an identifier (@id) to every nodes and canonicalize every literals using the given generator to generate fresh identifiers for anonymous nodes.

Give an identifier (@id) to every nodes and canonicalize every literals using the given generator to generate fresh identifiers for anonymous nodes.

Relabels nodes.

Relabels nodes.

Puts this document literals into canonical form using the given buffer.

The buffer is used to compute the canonical form of numbers.

Puts this document literals into canonical form.

Returns the set of all blank identifiers in the given document.

Trait Implementations§

Compacts the input document with full options.
Returns the “default value” for a type. Read more
Extends a collection with the contents of an iterator. Read more
🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
Converts to this type from the input type.
Creates a value from an iterator. Read more
Which kind of iterator are we turning this into?
The type of the elements being iterated over.
Creates an iterator from a value. Read more
Which kind of iterator are we turning this into?
The type of the elements being iterated over.
Creates an iterator from a value. Read more

Comparison between two expanded documents.

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Comparison between two expanded documents.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Wraps self inside a Meta<Self, M> using the given metadata. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Checks if this value is equivalent to the given key. Read more
Compare self to key and return true if they are equal.

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.