#[repr(C)]pub struct Difficulty {
pub target: u8,
pub cut: u8,
pub lag: u16,
pub window: u32,
}Fields§
§target: u8§cut: u8§lag: u16§window: u32Implementations§
Trait Implementations§
Source§impl From<&Difficulty> for u64
impl From<&Difficulty> for u64
Source§fn from(data: &Difficulty) -> u64
fn from(data: &Difficulty) -> u64
Converts to this type from the input type.
Source§impl From<&u64> for Difficulty
impl From<&u64> for Difficulty
Source§fn from(data: &u64) -> Difficulty
fn from(data: &u64) -> Difficulty
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Difficulty
impl RefUnwindSafe for Difficulty
impl Send for Difficulty
impl Sync for Difficulty
impl Unpin for Difficulty
impl UnwindSafe for Difficulty
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