Struct qt_core::q_abstract_event_dispatcher::TimerInfo
source · #[repr(C)]pub struct TimerInfo { /* private fields */ }
Expand description
Implementations§
source§impl TimerInfo
impl TimerInfo
sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<TimerInfo>>
) -> Ref<TimerInfo>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<TimerInfo>> ) -> Ref<TimerInfo>
sourcepub unsafe fn new(id: c_int, i: c_int, t: TimerType) -> CppBox<TimerInfo>
pub unsafe fn new(id: c_int, i: c_int, t: TimerType) -> CppBox<TimerInfo>
sourcepub unsafe fn new_copy(
other: impl CastInto<Ref<TimerInfo>>
) -> CppBox<TimerInfo>
pub unsafe fn new_copy( other: impl CastInto<Ref<TimerInfo>> ) -> CppBox<TimerInfo>
sourcepub unsafe fn set_interval(&self, value: c_int)
pub unsafe fn set_interval(&self, value: c_int)
Sets the value of the interval
field.
sourcepub unsafe fn set_timer_id(&self, value: c_int)
pub unsafe fn set_timer_id(&self, value: c_int)
Sets the value of the timerId
field.
sourcepub unsafe fn set_timer_type(&self, value: TimerType)
pub unsafe fn set_timer_type(&self, value: TimerType)
Sets the value of the timerType
field.
sourcepub unsafe fn timer_type(&self) -> TimerType
pub unsafe fn timer_type(&self) -> TimerType
Returns the value of the timerType
field.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for TimerInfo
impl Send for TimerInfo
impl Sync for TimerInfo
impl Unpin for TimerInfo
impl UnwindSafe for TimerInfo
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