Struct savefile::IntrospectedElementKey [−][src]
pub struct IntrospectedElementKey { pub depth: usize, pub key: String, pub key_disambiguator: usize, }
Expand description
Identifies an introspected element somewhere in the introspection tree of an object.
Fields
depth: usize
Depth in the tree. Fields on top level struct are at depth 0.
key: String
The name of the field
key_disambiguator: usize
If several fields have the same name, the key_disambiguator is 0 for the first field, 1 for the next, etc.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for IntrospectedElementKey
impl Send for IntrospectedElementKey
impl Sync for IntrospectedElementKey
impl Unpin for IntrospectedElementKey
impl UnwindSafe for IntrospectedElementKey
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V