Skip to main content

Sqroot

Trait Sqroot 

Source
pub trait Sqroot {
    type Output;

    // Required method
    fn sqroot(&self) -> Self::Output;
}
Expand description

Square Root trait for convenience.

Required Associated Types§

Required Methods§

Source

fn sqroot(&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 Sqroot for f32

Source§

type Output = f32

Source§

fn sqroot(&self) -> Self

Source§

impl Sqroot for f64

Source§

type Output = f64

Source§

fn sqroot(&self) -> Self

Source§

impl Sqroot for i8

Source§

type Output = i8

Source§

fn sqroot(&self) -> Self

Source§

impl Sqroot for i16

Source§

type Output = i16

Source§

fn sqroot(&self) -> Self

Source§

impl Sqroot for i32

Source§

type Output = i32

Source§

fn sqroot(&self) -> Self

Source§

impl Sqroot for i64

Source§

type Output = i64

Source§

fn sqroot(&self) -> Self

Source§

impl Sqroot for i128

Source§

type Output = i128

Source§

fn sqroot(&self) -> Self

Source§

impl Sqroot for u8

Source§

type Output = u8

Source§

fn sqroot(&self) -> Self

Source§

impl Sqroot for u16

Source§

type Output = u16

Source§

fn sqroot(&self) -> Self

Source§

impl Sqroot for u32

Source§

type Output = u32

Source§

fn sqroot(&self) -> Self

Source§

impl Sqroot for u64

Source§

type Output = u64

Source§

fn sqroot(&self) -> Self

Source§

impl Sqroot for u128

Source§

type Output = u128

Source§

fn sqroot(&self) -> Self

Implementors§