Trait Sqrt

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

Square root function

Required Methods§

Source

fn sqrt(self) -> 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 Sqrt for f32

Source§

fn sqrt(self) -> Self

Source§

impl Sqrt for f64

Source§

fn sqrt(self) -> Self

Source§

impl<U> Sqrt for FixedI8<U>
where U: LtU8,

Source§

fn sqrt(self) -> Self

Source§

impl<U> Sqrt for FixedI16<U>
where U: LtU16,

Source§

fn sqrt(self) -> Self

Source§

impl<U> Sqrt for FixedI32<U>
where U: LtU32,

Source§

fn sqrt(self) -> Self

Source§

impl<U> Sqrt for FixedI64<U>
where U: LtU64,

Source§

fn sqrt(self) -> Self

Implementors§