#[repr(C)]pub struct TimerCallback {
pub cb: TimerCallbackType,
}Expand description
Callback that can runs on every frame on the main thread - can modify the app data model
Fields§
§cb: TimerCallbackTypeTrait 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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more