Unstable[src]

Module std::reflect

Runtime type reflection

MovePtrAdaptor

Adaptor to wrap around visitors implementing MovePtr.

MovePtr

Trait for visitor that wishes to reflect on data. To use this, create a struct that encapsulates the set of pointers you wish to walk through a data structure, and implement both MovePtr for it as well as TyVisitor; then build a MovePtrAdaptor wrapped around your struct.

MovePtrAdaptor
align

Helper function for alignment calculation.