Trait integer_cbrt::IntegerCubeRoot[][src]

pub trait IntegerCubeRoot {
    fn integer_cbrt_checked(&self) -> Option<Self>
    where
        Self: Sized
; fn integer_cbrt(&self) -> Self
    where
        Self: Sized
, { ... } }

A trait implementing integer cube root.

Required methods

fn integer_cbrt_checked(&self) -> Option<Self> where
    Self: Sized
[src]

Find the integer cube root, returning None if the number is negative (this can never happen for unsigned types).

Loading content...

Provided methods

fn integer_cbrt(&self) -> Self where
    Self: Sized
[src]

Find the integer cube root.

Panics

For negative numbers (i family) this function will panic on negative input

Loading content...

Implementors

Loading content...