pub struct KeyPair<P, const LIMBS: usize> {
pub secret: SecretScalar<LIMBS>,
pub public: P,
}Expand description
Deterministic key pair built from a caller-supplied secret scalar.
Fields§
§secret: SecretScalar<LIMBS>The secret key
public: PThe public key
Trait Implementations§
impl<P: Eq, const LIMBS: usize> Eq for KeyPair<P, LIMBS>
impl<P, const LIMBS: usize> StructuralPartialEq for KeyPair<P, LIMBS>
Auto Trait Implementations§
impl<P, const LIMBS: usize> Freeze for KeyPair<P, LIMBS>where
P: Freeze,
impl<P, const LIMBS: usize> RefUnwindSafe for KeyPair<P, LIMBS>where
P: RefUnwindSafe,
impl<P, const LIMBS: usize> Send for KeyPair<P, LIMBS>where
P: Send,
impl<P, const LIMBS: usize> Sync for KeyPair<P, LIMBS>where
P: Sync,
impl<P, const LIMBS: usize> Unpin for KeyPair<P, LIMBS>where
P: Unpin,
impl<P, const LIMBS: usize> UnsafeUnpin for KeyPair<P, LIMBS>where
P: UnsafeUnpin,
impl<P, const LIMBS: usize> UnwindSafe for KeyPair<P, LIMBS>where
P: UnwindSafe,
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