dsalgo 0.3.10

A package for Datastructures and Algorithms.
Documentation
1
2
3
4
5
6
7
8
use crate::category::Category;

pub trait Composition: Category {
    fn compose(
        f: Self::Morphism,
        g: Self::Morphism,
    ) -> Self::Morphism;
}