Trait libbgs::numbers::Length

source ·
pub trait Length<S> {
    const LENGTH: usize;
}
Expand description

A placeholder trait for storing the length of a prime factorization; required to be separate from the Factor trait in order for the trait solver to avoid cycles.

Required Associated Constants§

source

const LENGTH: usize

The length of a prime factorization, i.e., the number of unique prime factors.

Implementors§

source§

impl<S, T: Factor<S>> Length<S> for T