Module prelude

Source
Expand description

Imports things that is likely needed in ECS functinos.

Macros§

tinfo
Creates TypeInfo from the given type and reflects whether the type implements Send, Sync, Default, and Clone to the TypeInfo.

Structs§

ATypeId
A TypeIdExt with a salt type.
DebugHelper
A helper type for the FnFmtRaw.
TypeHelper
A helper struct used to determine whether a type implements traits like Send, Sync, and Clone by cooperating with helper traits like NotSend , NotSync, and NotClone.
TypeIdExt
Represents an extended TypeId with type name.
TypeInfo
Type information such as TypeId, name, size, and alignment.

Traits§

NotClone
A helper trait for TypeHelper to detect not Clone types.
NotDebug
A helper trait for TypeHelper to detect not Debug types.
NotDefault
A helper trait for TypeHelper to detect not Default types.
NotEqualType
A helper trait for TypeHelper to detect not equal types.
NotSend
A helper trait for TypeHelper to detect not Send types.
NotSync
A helper trait for TypeHelper to detect not Sync types.
NotUnwindSafe
A helper trait for TypeHelper to detect not UnwindSafe types.

Type Aliases§

FnCloneRaw
Type-erased raw Clone::clone function pointer type.
FnDefaultRaw
Type-erased raw Default::default function pointer type.
FnDropRaw
Type-erased raw Drop::drop function pointer type.
FnFmtRaw
Type-erased raw Debug::fmt function pointer type.