Skip to main content

FeynmanDiagramCffExt

Trait FeynmanDiagramCffExt 

Source
pub trait FeynmanDiagramCffExt {
    // Required methods
    fn build_cff(&self, options: CffOptions) -> Result<CffResult, CffError>;
    fn build_cff_subgraph<S: SubGraphLike>(
        &self,
        subgraph: &S,
        options: CffOptions,
    ) -> Result<CffResult, CffError>;
}
Expand description

CFF construction directly on FeynKit diagrams without wrapping the graph type.

Required Methods§

Source

fn build_cff(&self, options: CffOptions) -> Result<CffResult, CffError>

Source

fn build_cff_subgraph<S: SubGraphLike>( &self, subgraph: &S, options: CffOptions, ) -> Result<CffResult, CffError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl FeynmanDiagramCffExt for FeynmanDiagram

Source§

fn build_cff(&self, options: CffOptions) -> Result<CffResult, CffError>

Source§

fn build_cff_subgraph<S: SubGraphLike>( &self, subgraph: &S, options: CffOptions, ) -> Result<CffResult, CffError>

Implementors§