pub struct Time(/* private fields */);Expand description
A crate::Origin builder.
Implementations§
Source§impl Time
impl Time
pub fn new(start_time: u64, stop_time: u64) -> Self
pub fn repeat(self, repeat: Repeat) -> Self
pub fn repeat_if(self, repeat: Repeat, predicate: bool) -> Self
pub fn repeat_if_some(self, repeat: Option<Repeat>) -> Self
pub fn repeats(self, repeats: impl IntoIterator<Item = Repeat>) -> Self
pub fn repeats_if( self, repeats: impl IntoIterator<Item = Repeat>, predicate: bool, ) -> Self
pub fn build(self) -> Time
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Time
impl RefUnwindSafe for Time
impl Send for Time
impl Sync for Time
impl Unpin for Time
impl UnsafeUnpin for Time
impl UnwindSafe for Time
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