Enum libreda_db::undo::HierarchyUndoOp[][src]

pub enum HierarchyUndoOp<T: HierarchyBase> {
    CreateCell(T::CellId),
    CreateCellInstance(T::CellInstId),
    RenameCell(T::CellId, T::NameType),
    RenameCellInst(T::CellInstIdOption<T::NameType>),
}
Expand description

Undo operation for hierarchy operations.

Variants

CreateCell(T::CellId)

Undo creating a cell.

Tuple Fields of CreateCell

0: T::CellId
CreateCellInstance(T::CellInstId)

Undo creating a cell instance.

Tuple Fields of CreateCellInstance

0: T::CellInstId
RenameCell(T::CellId, T::NameType)

Holds the previous name of the cell.

Tuple Fields of RenameCell

0: T::CellId1: T::NameType
RenameCellInst(T::CellInstIdOption<T::NameType>)

Holds the previous name of the cell instance.

Tuple Fields of RenameCellInst

0: T::CellInstId1: Option<T::NameType>

Trait Implementations

Performs the conversion.

Performs the conversion.

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 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.