pub struct TimeDeltaGenerator { /* private fields */ }Available on crate feature
chrono only.Expand description
Generator for chrono::TimeDelta values. Created by time_deltas().
Implementations§
Trait Implementations§
Source§impl Generator<TimeDelta> for TimeDeltaGenerator
impl Generator<TimeDelta> for TimeDeltaGenerator
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 TimeDeltaGenerator
impl RefUnwindSafe for TimeDeltaGenerator
impl Send for TimeDeltaGenerator
impl Sync for TimeDeltaGenerator
impl Unpin for TimeDeltaGenerator
impl UnsafeUnpin for TimeDeltaGenerator
impl UnwindSafe for TimeDeltaGenerator
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