Trait std::reflect::MovePtr
pub trait MovePtr { fn move_ptr(&mut self, adjustment: |*u8| -> *u8); fn push_ptr(&mut self); fn pop_ptr(&mut self); }
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.
Required Methods
Implementors
ReprVisitor<'a>