pub struct TestAppContainer<R>{ /* private fields */ }
Implementations§
Source§impl<R> TestAppContainer<R>
impl<R> TestAppContainer<R>
pub fn new(apply_view: impl Fn(R, &mut R) + Send + Sync + 'static) -> Self
pub fn call_controller<Controller, Arg, E>(
&self,
controller: Controller,
arg: Arg,
)where
Controller: MistyController<Arg, E>,
E: Debug,
pub fn flush_schedules(&self)
pub fn get_resource(&self, id: MistyResourceId) -> Option<Vec<u8>>
pub fn accessor(&self) -> MistyClientAccessor
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for TestAppContainer<R>
impl<R> !RefUnwindSafe for TestAppContainer<R>
impl<R> Send for TestAppContainer<R>
impl<R> Sync for TestAppContainer<R>
impl<R> Unpin for TestAppContainer<R>
impl<R> !UnwindSafe for TestAppContainer<R>
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