Struct snarkvm_ledger_coinbase::PuzzleConfig
source · pub struct PuzzleConfig {
pub degree: u32,
}
Fields§
§degree: u32
The maximum degree of the polynomial.
Trait Implementations§
source§impl Clone for PuzzleConfig
impl Clone for PuzzleConfig
source§fn clone(&self) -> PuzzleConfig
fn clone(&self) -> PuzzleConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PuzzleConfig
impl Debug for PuzzleConfig
source§impl Hash for PuzzleConfig
impl Hash for PuzzleConfig
source§impl Ord for PuzzleConfig
impl Ord for PuzzleConfig
source§fn cmp(&self, other: &PuzzleConfig) -> Ordering
fn cmp(&self, other: &PuzzleConfig) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for PuzzleConfig
impl PartialEq for PuzzleConfig
source§fn eq(&self, other: &PuzzleConfig) -> bool
fn eq(&self, other: &PuzzleConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PuzzleConfig
impl PartialOrd for PuzzleConfig
source§fn partial_cmp(&self, other: &PuzzleConfig) -> Option<Ordering>
fn partial_cmp(&self, other: &PuzzleConfig) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
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 Copy for PuzzleConfig
impl Eq for PuzzleConfig
impl StructuralPartialEq for PuzzleConfig
Auto Trait Implementations§
impl RefUnwindSafe for PuzzleConfig
impl Send for PuzzleConfig
impl Sync for PuzzleConfig
impl Unpin for PuzzleConfig
impl UnwindSafe for PuzzleConfig
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.