pub trait HedgeGraphCffExt {
// Required methods
fn build_cff_from_subgraph<S: SubGraphLike>(
&self,
subgraph: &S,
options: CffOptions,
reversed_dangling: &[EdgeId],
cache: &mut SurfaceCache,
) -> Result<CffResult, CffError>;
fn build_cff_from_subgraph_with_edge_roles<S, F>(
&self,
subgraph: &S,
options: CffOptions,
reversed_dangling: &[EdgeId],
edge_role: F,
cache: &mut SurfaceCache,
) -> Result<CffResult, CffError>
where S: SubGraphLike,
F: FnMut(EdgeId) -> HedgeEdgeRole;
}Required Methods§
fn build_cff_from_subgraph<S: SubGraphLike>( &self, subgraph: &S, options: CffOptions, reversed_dangling: &[EdgeId], cache: &mut SurfaceCache, ) -> Result<CffResult, CffError>
Sourcefn build_cff_from_subgraph_with_edge_roles<S, F>(
&self,
subgraph: &S,
options: CffOptions,
reversed_dangling: &[EdgeId],
edge_role: F,
cache: &mut SurfaceCache,
) -> Result<CffResult, CffError>
fn build_cff_from_subgraph_with_edge_roles<S, F>( &self, subgraph: &S, options: CffOptions, reversed_dangling: &[EdgeId], edge_role: F, cache: &mut SurfaceCache, ) -> Result<CffResult, CffError>
Build CFF while assigning application-specific roles to selected edges.
The callback classifies original Linnet edge IDs without constructing an intermediate graph wrapper. This is useful for finalized runtime graphs that retain bookkeeping edges which must not participate in CFF, or sewn initial-state edges which contribute shifts but no generated orientation.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".