Enum rustc_data_structures::snapshot_vec::UndoLog[][src]

pub enum UndoLog<D> where
    D: SnapshotVecDelegate
{ NewElem(usize), SetElem(usize, <D as SnapshotVecDelegate>::Value), Other(<D as SnapshotVecDelegate>::Undo), }

Variants

NewElem(usize)

New variable with given index was created.

Tuple Fields of NewElem

0: usize
SetElem(usize, <D as SnapshotVecDelegate>::Value)

Variable with given index was changed from the given value.

Tuple Fields of SetElem

0: usize1: <D as SnapshotVecDelegate>::Value
Other(<D as SnapshotVecDelegate>::Undo)

Extensible set of actions

Tuple Fields of Other

0: <D as SnapshotVecDelegate>::Undo

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Layout

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.