#[repr(C)]pub struct IntegrationTestRunnerApi {
pub create: Option<unsafe extern "C" fn(app: *mut ApplicationO, allocator: *mut AllocatorI, context: StrhashT) -> *mut IntegrationTestRunnerO>,
pub add_test: Option<unsafe extern "C" fn(runner: *mut IntegrationTestRunnerO, name: *const c_char) -> bool>,
pub tick: Option<unsafe extern "C" fn(runner: *mut IntegrationTestRunnerO)>,
pub destroy: Option<unsafe extern "C" fn(runner: *mut IntegrationTestRunnerO)>,
}Fields§
§create: Option<unsafe extern "C" fn(app: *mut ApplicationO, allocator: *mut AllocatorI, context: StrhashT) -> *mut IntegrationTestRunnerO>§add_test: Option<unsafe extern "C" fn(runner: *mut IntegrationTestRunnerO, name: *const c_char) -> bool>§tick: Option<unsafe extern "C" fn(runner: *mut IntegrationTestRunnerO)>§destroy: Option<unsafe extern "C" fn(runner: *mut IntegrationTestRunnerO)>Implementations§
Source§impl IntegrationTestRunnerApi
impl IntegrationTestRunnerApi
pub unsafe fn create( &self, app: *mut ApplicationO, allocator: *mut AllocatorI, context: StrhashT, ) -> *mut IntegrationTestRunnerO
pub unsafe fn add_test( &self, runner: *mut IntegrationTestRunnerO, name: *const c_char, ) -> bool
pub unsafe fn tick(&self, runner: *mut IntegrationTestRunnerO)
pub unsafe fn destroy(&self, runner: *mut IntegrationTestRunnerO)
Trait Implementations§
Source§impl Api for IntegrationTestRunnerApi
impl Api for IntegrationTestRunnerApi
Source§impl Clone for IntegrationTestRunnerApi
impl Clone for IntegrationTestRunnerApi
Source§fn clone(&self) -> IntegrationTestRunnerApi
fn clone(&self) -> IntegrationTestRunnerApi
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for IntegrationTestRunnerApi
impl Default for IntegrationTestRunnerApi
Source§fn default() -> IntegrationTestRunnerApi
fn default() -> IntegrationTestRunnerApi
Returns the “default value” for a type. Read more
impl Copy for IntegrationTestRunnerApi
Auto Trait Implementations§
impl Freeze for IntegrationTestRunnerApi
impl RefUnwindSafe for IntegrationTestRunnerApi
impl Send for IntegrationTestRunnerApi
impl Sync for IntegrationTestRunnerApi
impl Unpin for IntegrationTestRunnerApi
impl UnwindSafe for IntegrationTestRunnerApi
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