Struct json_ld::NodeMapGraph

source ·
pub struct NodeMapGraph<T, B, M> { /* private fields */ }

Implementations§

Merge this graph with other.

This calls merge_node with every node of other.

Merge the given node into the graph.

The node must has an identifier, or this function will have no effect. If there is already a node with the same identifier:

  • The index of node, if any, overrides the previously existing index.
  • The list of node types is concatenated after the preexisting types.
  • The graph and imported values are overridden.
  • Properties and reverse properties are merged.

Trait Implementations§

Returns the “default value” for a type. Read more
The type of the elements being iterated over.
Which kind of iterator are we turning this into?
Creates an iterator from a value. Read more
The type of the elements being iterated over.
Which kind of iterator are we turning this into?
Creates an iterator from a value. Read more

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.