pub fn factorial<T>(n: T) -> T where
    T: PrimInt + Unsigned + Product
Expand description

Calculate factorial from given value.