Struct chain_impl_mockchain::leadership::genesis::vrfeval::Threshold
source · pub struct Threshold(f64);
Expand description
Threshold between 0.0 and 1.0
Tuple Fields§
§0: f64
Implementations§
Trait Implementations§
source§impl PartialEq<Threshold> for Threshold
impl PartialEq<Threshold> for Threshold
source§impl PartialOrd<Threshold> for Threshold
impl PartialOrd<Threshold> for Threshold
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 Threshold
impl StructuralPartialEq for Threshold
Auto Trait Implementations§
impl RefUnwindSafe for Threshold
impl Send for Threshold
impl Sync for Threshold
impl Unpin for Threshold
impl UnwindSafe for Threshold
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