Skip to main content

Sqrt

Trait Sqrt 

Source
pub trait Sqrt {
    type Output: Num;

    // Required method
    fn sqrt(self) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn sqrt(self) -> Self::Output

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Sqrt for f32

Source§

type Output = f32

Source§

fn sqrt(self) -> Self

Source§

impl Sqrt for f64

Source§

type Output = f64

Source§

fn sqrt(self) -> Self

Source§

impl<'a> Sqrt for &'a f32

Source§

impl<'a> Sqrt for &'a f64

Implementors§