pub trait SquareAssign {
// Required method
fn square_assign(&mut self);
}
Expand description
Support for optimized squaring in-place
Required Methods§
Sourcefn square_assign(&mut self)
fn square_assign(&mut self)
Computes the same as self * self
, but may be more efficient.
Writes the result in self
.
Implementors§
impl SquareAssign for BoxedMontyForm
Available on crate feature
alloc
only.