Struct vdf::WesolowskiVDFParams
source · pub struct WesolowskiVDFParams(pub u16);
Tuple Fields
0: u16
Trait Implementations
sourceimpl Clone for WesolowskiVDFParams
impl Clone for WesolowskiVDFParams
sourcefn clone(&self) -> WesolowskiVDFParams
fn clone(&self) -> WesolowskiVDFParams
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for WesolowskiVDFParams
impl Debug for WesolowskiVDFParams
sourceimpl Hash for WesolowskiVDFParams
impl Hash for WesolowskiVDFParams
sourceimpl Ord for WesolowskiVDFParams
impl Ord for WesolowskiVDFParams
sourcefn cmp(&self, other: &WesolowskiVDFParams) -> Ordering
fn cmp(&self, other: &WesolowskiVDFParams) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<WesolowskiVDFParams> for WesolowskiVDFParams
impl PartialEq<WesolowskiVDFParams> for WesolowskiVDFParams
sourcefn eq(&self, other: &WesolowskiVDFParams) -> bool
fn eq(&self, other: &WesolowskiVDFParams) -> bool
sourceimpl PartialOrd<WesolowskiVDFParams> for WesolowskiVDFParams
impl PartialOrd<WesolowskiVDFParams> for WesolowskiVDFParams
sourcefn partial_cmp(&self, other: &WesolowskiVDFParams) -> Option<Ordering>
fn partial_cmp(&self, other: &WesolowskiVDFParams) -> Option<Ordering>
1.0.0 · sourcefn 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 moresourceimpl VDFParams for WesolowskiVDFParams
impl VDFParams for WesolowskiVDFParams
impl Copy for WesolowskiVDFParams
impl Eq for WesolowskiVDFParams
impl StructuralEq for WesolowskiVDFParams
impl StructuralPartialEq for WesolowskiVDFParams
Auto Trait Implementations
impl RefUnwindSafe for WesolowskiVDFParams
impl Send for WesolowskiVDFParams
impl Sync for WesolowskiVDFParams
impl Unpin for WesolowskiVDFParams
impl UnwindSafe for WesolowskiVDFParams
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