Expand description
Typestates to express ownership and thread safety of Godot types.
Structs§
- Shared
- Marker that indicates that a value currently might be shared in the same or over multiple threads.
- Thread
Local - Marker that indicates that a value can currently only be shared in the same thread.
- Unique
- Marker that indicates that a value currently only has a single unique reference.
Traits§
- Local
Thread Ownership - Trait to parametrize over the ownership markers that are local to the current thread:
Unique
andThreadLocal
. - NonUnique
Ownership - Trait to parametrize over the ownership markers that are not unique:
Shared
andThreadLocal
. - Ownership
- Trait to parametrize over the ownership markers
Unique
,Shared
andThreadLocal
.