pub struct MainWorld { /* private fields */ }
Expand description
The world as seen by an application’s main thread.
Trait Implementations§
Source§impl ThreadAccess for MainWorld
impl ThreadAccess for MainWorld
Source§type World = ThreadWorld
type World = ThreadWorld
World type used in the spawned thread.
impl EnvAccess for MainWorld
Auto Trait Implementations§
impl Freeze for MainWorld
impl RefUnwindSafe for MainWorld
impl Send for MainWorld
impl Sync for MainWorld
impl Unpin for MainWorld
impl UnwindSafe for MainWorld
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