Struct me3_framework::Framework
source · [−]pub struct Framework { /* private fields */ }
Implementations
sourceimpl Framework
impl Framework
pub fn setup_framework(
builder: FrameworkBuilder
) -> Result<Self, FrameworkError>
pub fn get_hooks(&self) -> &'static Hooks
pub fn get_overlay(&self) -> &'static Overlay
pub fn get_profiler(&self) -> &'static Profiler
pub fn get_script_host(&self) -> &'static ScriptHost
pub fn get_vfs(&self) -> &'static VirtualFileSystem
pub fn spawn<F>(&self, future: F) -> JoinHandle<<F as IntoFuture>::Output>where
F: IntoFuture,
F::IntoFuture: Send + Sync + 'static,
F::Output: Send + Sync + 'static,
pub fn run_until_shutdown(&self)
Auto Trait Implementations
impl !RefUnwindSafe for Framework
impl Send for Framework
impl Sync for Framework
impl Unpin for Framework
impl !UnwindSafe for Framework
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