pub struct MusigKeyAggCache(/* private fields */);Implementations§
Source§impl MusigKeyAggCache
impl MusigKeyAggCache
Sourcepub fn cmp_fast_unstable(&self, other: &Self) -> Ordering
pub fn cmp_fast_unstable(&self, other: &Self) -> Ordering
Like cmp::Ord but faster and with no guarantees across library versions.
The inner byte array of Self is passed across the FFI boundry, as such there are
no guarantees on its layout and it is subject to change across library versions,
even minor versions. For this reason comparison function implementations (e.g.
Ord, PartialEq) take measures to ensure the data will remain constant (e.g., by
serializing it to a guaranteed format). This means they may be slow, this function
provides a faster comparison if you know that your types come from the same library
version.
Sourcepub fn eq_fast_unstable(&self, other: &Self) -> bool
pub fn eq_fast_unstable(&self, other: &Self) -> bool
Like cmp::Eq but faster and with no guarantees across library versions.
The inner byte array of Self is passed across the FFI boundry, as such there are
no guarantees on its layout and it is subject to change across library versions,
even minor versions. For this reason comparison function implementations (e.g.
Ord, PartialEq) take measures to ensure the data will remain constant (e.g., by
serializing it to a guaranteed format). This means they may be slow, this function
provides a faster equality check if you know that your types come from the same
library version.
Trait Implementations§
Source§impl CPtr for MusigKeyAggCache
impl CPtr for MusigKeyAggCache
Source§impl Clone for MusigKeyAggCache
impl Clone for MusigKeyAggCache
Source§fn clone(&self) -> MusigKeyAggCache
fn clone(&self) -> MusigKeyAggCache
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for MusigKeyAggCache
Source§impl Debug for MusigKeyAggCache
impl Debug for MusigKeyAggCache
impl Eq for MusigKeyAggCache
Source§impl Hash for MusigKeyAggCache
impl Hash for MusigKeyAggCache
Source§impl<I> Index<I> for MusigKeyAggCache
impl<I> Index<I> for MusigKeyAggCache
Source§impl Ord for MusigKeyAggCache
impl Ord for MusigKeyAggCache
Source§fn cmp(&self, other: &MusigKeyAggCache) -> Ordering
fn cmp(&self, other: &MusigKeyAggCache) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for MusigKeyAggCache
impl PartialEq for MusigKeyAggCache
Source§fn eq(&self, other: &MusigKeyAggCache) -> bool
fn eq(&self, other: &MusigKeyAggCache) -> bool
self and other values to be equal, and is used by ==.