pub struct Processed<'l, T, B, C, M> { /* private fields */ }
Expand description

Processed context that also borrows the original, unprocessed, context.

Implementations§

Methods from Deref<Target = Context<T, B, C, M>>§

Returns a reference to the given term definition, if any.

Returns a reference to the given term normal definition, if any.

Returns a reference to the @type definition, if any.

Checks if the given term is defined.

Returns the original base URL of the context.

Returns the base IRI of the context.

Returns the @vocab value, if any.

Returns the default @language value.

Returns the default @direction value.

Returns a reference to the previous context.

Returns the number of terms defined.

Checks if no terms are defined.

Returns a handle to the term definitions.

Checks if the context has a protected definition.

Returns the inverse of this context.

Sets the normal definition for the given term key.

Sets the @type definition.

Sets the base IRI.

Sets the @vocab value.

Sets the default @language value.

Sets the default @direction value.

Sets the previous context.

Trait Implementations§

The resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.

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

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.