[][src]Struct savefile::IntrospectedElementKey

pub struct IntrospectedElementKey {
    pub depth: usize,
    pub key: String,
    pub key_disambiguator: usize,
}

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

impl Clone for IntrospectedElementKey[src]

impl Debug for IntrospectedElementKey[src]

impl Default for IntrospectedElementKey[src]

impl Display for IntrospectedElementKey[src]

impl Eq for IntrospectedElementKey[src]

impl PartialEq<IntrospectedElementKey> for IntrospectedElementKey[src]

impl StructuralEq for IntrospectedElementKey[src]

impl StructuralPartialEq for IntrospectedElementKey[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,