Skip to main content

ThreadAccess

Trait ThreadAccess 

Source
pub unsafe trait ThreadAccess {
    type World;
}
Expand description

Marker trait to indicate a world that is allowed to spawn threads.

Required Associated Types§

Source

type World

World type used in the spawned thread.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§