pub struct DrunkardConfig {
pub floor_percent: f64,
pub max_iterations: usize,
}Fields§
§floor_percent: f64§max_iterations: usizeTrait Implementations§
Source§impl Clone for DrunkardConfig
impl Clone for DrunkardConfig
Source§fn clone(&self) -> DrunkardConfig
fn clone(&self) -> DrunkardConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DrunkardConfig
impl Debug for DrunkardConfig
Auto Trait Implementations§
impl Freeze for DrunkardConfig
impl RefUnwindSafe for DrunkardConfig
impl Send for DrunkardConfig
impl Sync for DrunkardConfig
impl Unpin for DrunkardConfig
impl UnwindSafe for DrunkardConfig
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