Trait aery::tuple_traits::RelationEntries
source · pub trait RelationEntries {
// Required methods
fn hosts(&self, id: impl Into<RelationId>) -> &[Entity];
fn targets(&self, id: impl Into<RelationId>) -> &[Entity];
}
Expand description
Get information from multiple edge buckets.
Required Methods§
sourcefn hosts(&self, id: impl Into<RelationId>) -> &[Entity]
fn hosts(&self, id: impl Into<RelationId>) -> &[Entity]
Get all hosts of a relation type.
sourcefn targets(&self, id: impl Into<RelationId>) -> &[Entity]
fn targets(&self, id: impl Into<RelationId>) -> &[Entity]
Get all targets of a relation type.
Object Safety§
This trait is not object safe.