Struct savefile::Introspector [−][src]
pub struct Introspector { /* fields omitted */ }
Expand description
A helper which allows navigating an introspected object. It remembers a path down into the guts of the object.
Implementations
Returns a new Introspector with no limit to the number of fields introspected per level
Returns a new Introspector which will not enumerate more than ‘child_load_count’ elements on each level (useful for performance reasons to stop a 1 megabyte byte array from overwhelming the user of the introspector).
The current number of nodes in the tree.
pub fn do_introspect<'a>(
&mut self,
object: &'a dyn Introspect,
navigation_command: IntrospectorNavCommand
) -> Result<IntrospectionResult, IntrospectionError>
[src]
pub fn do_introspect<'a>(
&mut self,
object: &'a dyn Introspect,
navigation_command: IntrospectorNavCommand
) -> Result<IntrospectionResult, IntrospectionError>
[src]Navigate the introspection tree using the given navigation_command, and also return the tree as an IntrospectionResult.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Introspector
impl Send for Introspector
impl Sync for Introspector
impl Unpin for Introspector
impl UnwindSafe for Introspector
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V