Struct flipper0::ffi::SceneManagerHandlers
source · pub struct SceneManagerHandlers {
pub on_enter_handlers: *const Option<unsafe extern "C" fn(*mut c_void)>,
pub on_event_handlers: *const Option<unsafe extern "C" fn(*mut c_void, SceneManagerEvent) -> bool>,
pub on_exit_handlers: *const Option<unsafe extern "C" fn(*mut c_void)>,
pub scene_num: u32,
}
Expand description
Scene Manager configuration structure Contains array of Scene handlers
Fields
on_enter_handlers: *const Option<unsafe extern "C" fn(*mut c_void)>
on_event_handlers: *const Option<unsafe extern "C" fn(*mut c_void, SceneManagerEvent) -> bool>
on_exit_handlers: *const Option<unsafe extern "C" fn(*mut c_void)>
scene_num: u32
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SceneManagerHandlers
impl !Send for SceneManagerHandlers
impl !Sync for SceneManagerHandlers
impl Unpin for SceneManagerHandlers
impl UnwindSafe for SceneManagerHandlers
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