pub struct BaseTimerBuilder { /* private fields */ }
Expand description
Low level timer builder. Instanced by ControlBase::build_timer
.
Implementations§
Source§impl TimerBuilder
impl TimerBuilder
pub fn stopped(self, v: bool) -> TimerBuilder
pub fn interval(self, i: u32) -> TimerBuilder
pub fn parent(self, parent: Option<ControlHandle>) -> TimerBuilder
pub fn build(self) -> Result<ControlHandle, NwgError>
Trait Implementations§
Source§impl Default for TimerBuilder
impl Default for TimerBuilder
Source§fn default() -> TimerBuilder
fn default() -> TimerBuilder
Returns the “default value” for a type. Read more
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