Trait 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) -> Self

source§

impl Cbrt for f64

source§

fn cbrt(self) -> Self

source§

impl Cbrt for f32x4

source§

fn cbrt(self) -> Self

source§

impl Cbrt for f32x8

source§

fn cbrt(self) -> Self

source§

impl Cbrt for f64x2

source§

fn cbrt(self) -> Self

source§

impl Cbrt for f64x4

source§

fn cbrt(self) -> Self

Implementors§