Struct secp256k1::SignOnlyPreallocated
source · [−]pub struct SignOnlyPreallocated<'buf> { /* private fields */ }
Expand description
Represents the set of capabilities needed for signing with a user preallocated memory.
Trait Implementations
sourceimpl<'buf> Clone for SignOnlyPreallocated<'buf>
impl<'buf> Clone for SignOnlyPreallocated<'buf>
sourcefn clone(&self) -> SignOnlyPreallocated<'buf>
fn clone(&self) -> SignOnlyPreallocated<'buf>
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'buf> Context for SignOnlyPreallocated<'buf>
impl<'buf> Context for SignOnlyPreallocated<'buf>
sourceimpl<'buf> Debug for SignOnlyPreallocated<'buf>
impl<'buf> Debug for SignOnlyPreallocated<'buf>
sourceimpl<'buf> Hash for SignOnlyPreallocated<'buf>
impl<'buf> Hash for SignOnlyPreallocated<'buf>
sourceimpl<'buf> Ord for SignOnlyPreallocated<'buf>
impl<'buf> Ord for SignOnlyPreallocated<'buf>
sourcefn cmp(&self, other: &SignOnlyPreallocated<'buf>) -> Ordering
fn cmp(&self, other: &SignOnlyPreallocated<'buf>) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Selfwhere
Self: Sized,
const fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Selfwhere
Self: Sized,
const fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl<'buf> PartialEq<SignOnlyPreallocated<'buf>> for SignOnlyPreallocated<'buf>
impl<'buf> PartialEq<SignOnlyPreallocated<'buf>> for SignOnlyPreallocated<'buf>
sourcefn eq(&self, other: &SignOnlyPreallocated<'buf>) -> bool
fn eq(&self, other: &SignOnlyPreallocated<'buf>) -> bool
sourceimpl<'buf> PartialOrd<SignOnlyPreallocated<'buf>> for SignOnlyPreallocated<'buf>
impl<'buf> PartialOrd<SignOnlyPreallocated<'buf>> for SignOnlyPreallocated<'buf>
sourcefn partial_cmp(&self, other: &SignOnlyPreallocated<'buf>) -> Option<Ordering>
fn partial_cmp(&self, other: &SignOnlyPreallocated<'buf>) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<'buf> Copy for SignOnlyPreallocated<'buf>
impl<'buf> Eq for SignOnlyPreallocated<'buf>
impl<'buf> Signing for SignOnlyPreallocated<'buf>
impl<'buf> StructuralEq for SignOnlyPreallocated<'buf>
impl<'buf> StructuralPartialEq for SignOnlyPreallocated<'buf>
Auto Trait Implementations
impl<'buf> RefUnwindSafe for SignOnlyPreallocated<'buf>
impl<'buf> Send for SignOnlyPreallocated<'buf>
impl<'buf> Sync for SignOnlyPreallocated<'buf>
impl<'buf> Unpin for SignOnlyPreallocated<'buf>
impl<'buf> UnwindSafe for SignOnlyPreallocated<'buf>
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