pub trait Square {
    type Output;

    fn square(self) -> Self::Output;
}
Expand description

Squares a number.

Required Associated Types

Required Methods

Implementations on Foreign Types

Squares a number.

$f(x) = x^2$.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Squares a number.

$f(x) = x^2$.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Squares a number.

$f(x) = x^2$.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Squares a number.

$f(x) = x^2$.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Squares a number.

$f(x) = x^2$.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Squares a number.

$f(x) = x^2$.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Squares a number.

$f(x) = x^2$.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Squares a number.

$f(x) = x^2$.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Squares a number.

$f(x) = x^2$.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Squares a number.

$f(x) = x^2$.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Squares a number.

$f(x) = x^2$.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Squares a number.

$f(x) = x^2$.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Squares a number.

$f(x) = x^2$.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Squares a number.

$f(x) = x^2$.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Implementors