Skip to main content

UnitRoot

Trait UnitRoot 

Source
pub trait UnitRoot {
    type Output;
}
Expand description

The unit whose square this unit is, which a square root carries.

Left unimplemented for units that are no square this library names, so that taking the root of such a quantity fails to compile.

Required Associated Types§

Source

type Output

The unit of the square root.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§