Struct owoof::network::GenericNetwork [−][src]
pub struct GenericNetwork<V> { /* fields omitted */ }
Expand description
A plan or projection of entity-attribute-value sets with constraints between them.
- See
Network
for type alias that borrows usingValueRef
. - Or
OwnedNetwork
for a type alias that owns usingValue
.
Implementations
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
.
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.
pub fn value_for_entity_attribute<A: Clone>(
&mut self,
entity: TriplesField,
attribute: A
) -> TriplesField where
A: AsRef<AttributeRef>,
V: From<A>,
pub fn value_for_entity_attribute<A: Clone>(
&mut self,
entity: TriplesField,
attribute: A
) -> TriplesField where
A: AsRef<AttributeRef>,
V: From<A>,
Find or add triples t
such that t.e = field
and t.a = attribute
.
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<V> RefUnwindSafe for GenericNetwork<V> where
V: RefUnwindSafe,
impl<V> Send for GenericNetwork<V> where
V: Send,
impl<V> Sync for GenericNetwork<V> where
V: Sync,
impl<V> Unpin for GenericNetwork<V> where
V: Unpin,
impl<V> UnwindSafe for GenericNetwork<V> where
V: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more