Module abi_stable::marker_type

source ·
Expand description

Zero-sized types .

Structs

  • Used by vtables/pointers to signal that the type has been erased.
  • Used by pointers to vtables/modules to signal that the type has been erased.
  • An ffi-safe equivalent of a PhantomData<fn()->T>
  • Zero-sized marker type used to signal that even though a type could implement Copy and Clone, it is semantically an error to do so.
  • Marker type used to mark a type as being Send + Sync.
  • Marker type used to mark a type as being !Send + Sync.
  • MarkerType which ignores its type parameter in its StableAbi implementation.
  • Marker type used to mark a type as being Send + !Sync.
  • Marker type used to mark a type as being !Send + !Sync.