[][src]Enum savefile::IntrospectorNavCommand

pub enum IntrospectorNavCommand {
    ExpandElement(IntrospectedElementKey),
    SelectNth {
        select_depth: usize,
        select_index: usize,
    },
    Nothing,
    Up,
}

A command to navigate within an introspected object

Variants

ExpandElement(IntrospectedElementKey)

Select the given object and expand its children. Use this when you know the string name of the key you wish to expand.

SelectNth

Select the Nth object at the given depth in the tree. Use this when you know the index of the field you wish to expand.

Fields of SelectNth

select_depth: usize

Depth of item to select and expand

select_index: usize

Index of item to select and expand

Nothing

Don't navigate

Up

Navigate one level up

Trait Implementations

impl Clone for IntrospectorNavCommand[src]

impl Debug for IntrospectorNavCommand[src]

impl Eq for IntrospectorNavCommand[src]

impl PartialEq<IntrospectorNavCommand> for IntrospectorNavCommand[src]

impl StructuralEq for IntrospectorNavCommand[src]

impl StructuralPartialEq for IntrospectorNavCommand[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, 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>,