pub struct UsefulConstants { /* private fields */ }Implementations
sourceimpl UsefulConstants
impl UsefulConstants
pub fn new(curve: &Curve) -> UsefulConstants
sourcepub fn prime_size(&self) -> usize
pub fn prime_size(&self) -> usize
Returns the size in bits of the used prime.
Trait Implementations
sourceimpl Clone for UsefulConstants
impl Clone for UsefulConstants
sourcefn clone(&self) -> UsefulConstants
fn clone(&self) -> UsefulConstants
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl RefUnwindSafe for UsefulConstants
impl Send for UsefulConstants
impl Sync for UsefulConstants
impl Unpin for UsefulConstants
impl UnwindSafe for UsefulConstants
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more