Struct native_windows_gui::BaseTimerBuilder
source · [−]pub struct BaseTimerBuilder { /* private fields */ }
Expand description
Low level timer builder. Instanced by ControlBase::build_timer
.
Implementations
sourceimpl 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
sourceimpl Default for TimerBuilder
impl Default for TimerBuilder
sourcefn default() -> TimerBuilder
fn default() -> TimerBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for TimerBuilder
impl !Send for TimerBuilder
impl !Sync for TimerBuilder
impl Unpin for TimerBuilder
impl UnwindSafe for TimerBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more