pub struct ZipfSpec {
pub s: f64,
}Expand description
Zipf distribution parameter for a field (e.g. integer:1..1000:zipf or integer:1..1000:zipf=0.8).
Fields§
§s: f64Exponent (s). Default 1.0, must be > 0.
Implementations§
Trait Implementations§
impl Copy for ZipfSpec
impl StructuralPartialEq for ZipfSpec
Auto Trait Implementations§
impl Freeze for ZipfSpec
impl RefUnwindSafe for ZipfSpec
impl Send for ZipfSpec
impl Sync for ZipfSpec
impl Unpin for ZipfSpec
impl UnsafeUnpin for ZipfSpec
impl UnwindSafe for ZipfSpec
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