pub struct TimerCallback(pub TimerCallbackType);
Expand description
Callback that can runs on every frame on the main thread - can modify the app data model
Tuple Fields§
§0: TimerCallbackType
Trait Implementations§
Source§impl Clone for TimerCallback
impl Clone for TimerCallback
Source§impl Debug for TimerCallback
impl Debug for TimerCallback
Source§impl Display for TimerCallback
impl Display for TimerCallback
Source§impl Hash for TimerCallback
impl Hash for TimerCallback
Source§impl Ord for TimerCallback
impl Ord for TimerCallback
Source§impl PartialEq for TimerCallback
impl PartialEq for TimerCallback
Source§impl PartialOrd for TimerCallback
impl PartialOrd for TimerCallback
impl Copy for TimerCallback
impl Eq for TimerCallback
Auto Trait Implementations§
impl Freeze for TimerCallback
impl RefUnwindSafe for TimerCallback
impl Send for TimerCallback
impl Sync for TimerCallback
impl Unpin for TimerCallback
impl UnwindSafe for TimerCallback
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)