[][src]Trait johnston::IntExt

pub trait IntExt {
    fn factors(self) -> Vec<i32>;
fn is_prime(self) -> bool;
fn is_power_of_two(self) -> bool;
fn gpf(self) -> i32; }

Required methods

fn factors(self) -> Vec<i32>

fn is_prime(self) -> bool

fn is_power_of_two(self) -> bool

fn gpf(self) -> i32

Loading content...

Implementations on Foreign Types

impl IntExt for i32[src]

Loading content...

Implementors

Loading content...