cosmic::cosmic_theme::palette::num

Trait Cbrt

Source
pub trait Cbrt {
    // Required method
    fn cbrt(self) -> Self;
}
Expand description

Method for getting the cube root of a number.

Required Methods§

Source

fn cbrt(self) -> Self

Returns the cube root of self.

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 Cbrt for f32

Source§

fn cbrt(self) -> f32

Source§

impl Cbrt for f64

Source§

fn cbrt(self) -> f64

Implementors§