Skip to main content

Root

Trait Root 

Source
pub trait Root<POW> {
    type Output;

    // Required method
    fn root(self, pow: POW) -> Self::Output;
}
Expand description

Takes the $n$th root of a number.

Required Associated Types§

Required Methods§

Source

fn root(self, pow: POW) -> Self::Output

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§