pub struct Builder { /* private fields */ }
Expand description
Builder for ClockTimer
.
Implementations§
Source§impl Builder
impl Builder
Sourcepub fn new() -> Self
pub fn new() -> Self
New builder. You can also obtain a builder through ClockTimer::builder
Sourcepub fn with_start_datetime<TZ: TimeZone>(
self,
datetime: DateTime<TZ>,
) -> BuilderWithStart
pub fn with_start_datetime<TZ: TimeZone>( self, datetime: DateTime<TZ>, ) -> BuilderWithStart
Sets the start date/time of the ClockTimer, or in other words, the time of the first tick.
Auto Trait Implementations§
impl Freeze for Builder
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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