dsalgo 0.3.10

A package for Datastructures and Algorithms.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::{
    const_modulus_trait::Modulus,
    static_modulus_trait::Get,
};

impl<M: Modulus> Get for M {
    type T = M::T;

    fn get() -> Self::T {
        Self::MOD
    }
}