pub struct Output(/* private fields */);
Implementations§
Source§impl Output
impl Output
pub fn meets_difficulty(&self, d: Difficulty) -> bool
pub fn leading_zeros(&self) -> u32
Trait Implementations§
Source§impl From<Difficulty> for Output
impl From<Difficulty> for Output
Source§fn 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 Freeze for Output
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnwindSafe for Output
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