pub trait Square {
type Output;
// Required method
fn square(self) -> Self::Output;
}
Expand description
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.