pub struct ExecutableContext {
pub task_manager: &'static Manager,
pub users_manager: &'static Manager,
pub virtual_file_system: &'static VirtualFileSystem,
pub graphics_manager: Option<&'static Manager>,
pub network_manager: Option<&'static Manager>,
pub formats: &'static [ExecutableFormat],
pub time_manager: &'static Manager<'static>,
}Fields§
§task_manager: &'static Manager§users_manager: &'static Manager§virtual_file_system: &'static VirtualFileSystem§graphics_manager: Option<&'static Manager>§network_manager: Option<&'static Manager>§formats: &'static [ExecutableFormat]§time_manager: &'static Manager<'static>Implementations§
Source§impl ExecutableContext
impl ExecutableContext
Sourcepub fn new(
task_manager: &'static Manager,
users_manager: &'static Manager,
virtual_file_system: &'static VirtualFileSystem,
time_manager: &'static Manager<'static>,
) -> Self
pub fn new( task_manager: &'static Manager, users_manager: &'static Manager, virtual_file_system: &'static VirtualFileSystem, time_manager: &'static Manager<'static>, ) -> Self
A context without a graphics or network manager, whichever features are enabled: callers need not know whether those fields exist.
Auto Trait Implementations§
impl Freeze for ExecutableContext
impl !RefUnwindSafe for ExecutableContext
impl Send for ExecutableContext
impl Sync for ExecutableContext
impl Unpin for ExecutableContext
impl UnsafeUnpin for ExecutableContext
impl !UnwindSafe for ExecutableContext
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