cosmic::cosmic_theme::palette::num

Trait Sqrt

source
pub trait Sqrt {
    // Required method
    fn sqrt(self) -> Self;
}
Expand description

Method for getting the square root of a number.

Required Methods§

source

fn sqrt(self) -> Self

Returns the square root of self.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Sqrt for f32

source§

fn sqrt(self) -> f32

source§

impl Sqrt for f64

source§

fn sqrt(self) -> f64

Implementors§