pub struct TimerBuilder { /* private fields */ }
Implementations§
Source§impl TimerBuilder
impl TimerBuilder
pub fn interval(self, interval: u32) -> TimerBuilder
pub fn stopped(self, stop: bool) -> TimerBuilder
pub fn parent<C: Into<ControlHandle>>(self, p: C) -> TimerBuilder
pub fn build(self, out: &mut Timer) -> Result<(), NwgError>
Auto Trait Implementations§
impl Freeze for TimerBuilder
impl RefUnwindSafe for TimerBuilder
impl !Send for TimerBuilder
impl !Sync for TimerBuilder
impl Unpin for TimerBuilder
impl UnwindSafe for TimerBuilder
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