Skip to main content

Choose

Trait Choose 

Source
pub trait Choose {
    type Output;

    // Required method
    fn choose(self, other: Self) -> Self::Output;
}
Expand description

Finds the binomial coefficient.

Required Associated Types§

Source

type Output

The output type.

Required Methods§

Source

fn choose(self, other: Self) -> Self::Output

Finds the binomial coefficient as in self over other.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Choose for u32

Source§

type Output = u32

Source§

fn choose(self, other: Self) -> Self::Output

Implementors§