Struct mantra_miner::Mantra
source · [−]Expand description
A mantra to be “recited” by the miner. Since a computer can’t actually recite a mantra, the term refers to the process of writing the mantra syllable by syllable to an output buffer.
Fields
syllables: Vec<String>
The syllables of the mantra. The mantra will be recited syllable by syllable.
repeats: Option<usize>
The number of times to repeat the mantra. If it’s None
, the mantra will be repeated once.
Trait Implementations
impl Eq for Mantra
impl StructuralEq for Mantra
impl StructuralPartialEq for Mantra
Auto Trait Implementations
impl RefUnwindSafe for Mantra
impl Send for Mantra
impl Sync for Mantra
impl Unpin for Mantra
impl UnwindSafe for Mantra
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