Trait cosmic::cosmic_theme::palette::num::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.

Object Safety§

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§