Struct Context
#[repr(C)]pub struct Context(/* private fields */);
Expand description
A Secp256k1 context, containing various precomputed values and such
needed to do elliptic curve computations. If you create one of these
with secp256k1_context_create
you MUST destroy it with
secp256k1_context_destroy
, or else you will have a memory leak.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Context
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnwindSafe for Context
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