pub struct StructuralWitness {
pub p: BigInt,
pub q: BigInt,
pub method: &'static str,
}Expand description
A certified structural weakness: the factors and the attack that found them.
Fields§
§p: BigInt§q: BigInt§method: &'static strTrait Implementations§
Source§impl Clone for StructuralWitness
impl Clone for StructuralWitness
Source§fn clone(&self) -> StructuralWitness
fn clone(&self) -> StructuralWitness
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StructuralWitness
impl Debug for StructuralWitness
Source§impl PartialEq for StructuralWitness
impl PartialEq for StructuralWitness
Source§fn eq(&self, other: &StructuralWitness) -> bool
fn eq(&self, other: &StructuralWitness) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for StructuralWitness
impl StructuralPartialEq for StructuralWitness
Auto Trait Implementations§
impl Freeze for StructuralWitness
impl RefUnwindSafe for StructuralWitness
impl Send for StructuralWitness
impl Sync for StructuralWitness
impl Unpin for StructuralWitness
impl UnsafeUnpin for StructuralWitness
impl UnwindSafe for StructuralWitness
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