WideSquare

A trait for a type that can be squared to produce a wider type.

Fully qualified path: core::num::traits::ops::widesquare::WideSquare

pub trait WideSquare<T>

Trait functions

wide_square

Calculates the square, producing a wider type.

Fully qualified path: core::num::traits::ops::widesquare::WideSquare::wide_square

fn wide_square(self: T) -> Self::Target

Trait types

Target

The type of the result of the square.

Fully qualified path: core::num::traits::ops::widesquare::WideSquare::Target

type Target;