pub struct HypergraphProjectionSpec { /* private fields */ }Expand description
A directed hypergraph-projection declaration over a set of relation types.
Unlike a GraphProjectionSpec, participation is many-sided: a relation’s
incidences whose role is in source_roles form the source-side participants
and those in target_roles the target-side participants, so one relation can
carry an arbitrary number of participants per side.
§Performance
Cloning is O(relation-type count + role count + name lengths).
Trait Implementations§
Source§impl Clone for HypergraphProjectionSpec
impl Clone for HypergraphProjectionSpec
Source§fn clone(&self) -> HypergraphProjectionSpec
fn clone(&self) -> HypergraphProjectionSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HypergraphProjectionSpec
impl RefUnwindSafe for HypergraphProjectionSpec
impl Send for HypergraphProjectionSpec
impl Sync for HypergraphProjectionSpec
impl Unpin for HypergraphProjectionSpec
impl UnsafeUnpin for HypergraphProjectionSpec
impl UnwindSafe for HypergraphProjectionSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more