Expand description
§Motivation
Traits and structs needed to support the creation of bindings for scripting languages.
reflection gives us access to dyn PartialReflect objects via their type name,
Scripting languages only really support Clone objects so if we want to support references,
we need wrapper types which have owned and ref variants.
Structs§
- Thread
World Container - A world container that stores the world in a thread local
- World
Access Guard - Provides safe access to the world via [
WorldAccess] permissions, which enforce aliasing rules at runtime in multi-thread environments
Traits§
- World
Container - Utility type for accessing the world in a callback
Type Aliases§
- World
Guard - Prefer to directly using
WorldAccessGuard. If the underlying type changes, this alias will be updated. - World
Guard Ref - Similar to
WorldGuard, but without the arc, use for when you don’t need the outer Arc.