pub struct PrivateKey(pub Fr);Expand description
The Private Key as an element of Fr
Tuple Fields§
§0: FrImplementations§
Trait Implementations§
Source§impl From<&PrivateKey> for Fr
impl From<&PrivateKey> for Fr
Source§fn from(private_key: &PrivateKey) -> Self
fn from(private_key: &PrivateKey) -> Self
Converts to this type from the input type.
Source§impl From<PrivateKey> for Fr
impl From<PrivateKey> for Fr
Source§fn from(private_key: PrivateKey) -> Self
fn from(private_key: PrivateKey) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PrivateKey
impl RefUnwindSafe for PrivateKey
impl Send for PrivateKey
impl Sync for PrivateKey
impl Unpin for PrivateKey
impl UnwindSafe for PrivateKey
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