pub struct DataGenerator(/* private fields */);
Expand description
Generator provded to the data types. Refer to DataType
for usage information.
Implementations§
Source§impl DataGenerator
impl DataGenerator
Sourcepub fn new() -> Self
pub fn new() -> Self
Create a DataGenerator
instance.
Trait Implementations§
Source§impl Default for DataGenerator
impl Default for DataGenerator
Source§fn default() -> DataGenerator
fn default() -> DataGenerator
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DataGenerator
impl !RefUnwindSafe for DataGenerator
impl !Send for DataGenerator
impl !Sync for DataGenerator
impl Unpin for DataGenerator
impl !UnwindSafe for DataGenerator
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