Struct rust_randomx::Output
source · [−]pub struct Output(_);
Implementations
sourceimpl Output
impl Output
pub fn meets_difficulty(&self, d: Difficulty) -> bool
pub fn leading_zeros(&self) -> u32
Trait Implementations
sourceimpl From<Difficulty> for Output
impl From<Difficulty> for Output
sourcefn from(d: Difficulty) -> Self
fn from(d: Difficulty) -> Self
Converts to this type from the input type.
impl Copy for Output
impl StructuralPartialEq for Output
Auto Trait Implementations
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnwindSafe for Output
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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