pub struct Default;
Expand description
Defaults to the most efficient multiscalar multiplication algorithm
When alloc
feature is off, it always falls back to Naive
implementation.
When alloc
feature is on, it uses Straus
algorithm.
It may be more convenient to use Scalar::multiscalar_mul
which is an alias
to Default
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Default
impl RefUnwindSafe for Default
impl Send for Default
impl Sync for Default
impl Unpin for Default
impl UnwindSafe for Default
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more