pub struct DateTimeGenerator { /* private fields */ }Available on crate feature
jiff only.Expand description
Generator for jiff::civil::DateTime values. Created by datetimes().
Implementations§
Trait Implementations§
Source§impl Generator<DateTime> for DateTimeGenerator
impl Generator<DateTime> for DateTimeGenerator
Source§fn map<U, F>(self, f: F) -> Mapped<T, U, F, Self>
fn map<U, F>(self, f: F) -> Mapped<T, U, F, Self>
Transform generated values using a function. Read more
Source§fn flat_map<U, G, F>(self, f: F) -> FlatMapped<T, U, G, F, Self>
fn flat_map<U, G, F>(self, f: F) -> FlatMapped<T, U, G, F, Self>
Generate a value, then use it to choose or configure another generator. Read more
Auto Trait Implementations§
impl Freeze for DateTimeGenerator
impl RefUnwindSafe for DateTimeGenerator
impl Send for DateTimeGenerator
impl Sync for DateTimeGenerator
impl Unpin for DateTimeGenerator
impl UnsafeUnpin for DateTimeGenerator
impl UnwindSafe for DateTimeGenerator
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