pub struct NamedNetwork<'n, V> {
    pub network: GenericNetwork<V>,
    pub names: Names<'n>,
}
Expand description

A GenericNetwork paired with Names to associate variables to their first occurrence in a network.

Fields

network: GenericNetwork<V>names: Names<'n>

Implementations

Constrain a GenericNetwork using the given Pattern, unifying variables where appropriate.

Methods from Deref<Target = GenericNetwork<V>>

Adds one group of entity-attribute-value triples that can be constrained with values or by fields on other triples groups.

Adds a Constraint.

Adds a Constraint.

The number of triples added into this network.

Shorthand for iter::once(field).chain(network.links_to(field)).

All TriplesField with equality constraints to the given TriplesField.

Find an equality constraint between these two fields.

Find an equality constraint between a field and a value.

Find or add triples t such that t.e = field and t.a = attribute.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

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 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.