Enum libreda_db::undo::NetlistUndoOp[][src]

pub enum NetlistUndoOp<T: NetlistBase> {
    HierarchyOp(HierarchyUndoOp<T>),
    CreatePin(T::PinId),
    RenamePin(T::PinId, T::NameType),
    CreateNet(T::NetId),
    ConnectPin(T::PinIdOption<T::NetId>),
    ConnectPinInstance(T::PinInstIdOption<T::NetId>),
    RenameNet(T::NetIdOption<T::NameType>),
}
Expand description

Undo operations on the netlist.

Variants

HierarchyOp(HierarchyUndoOp<T>)

Undo an operation on the hierarchy.

Tuple Fields of HierarchyOp

0: HierarchyUndoOp<T>
CreatePin(T::PinId)

Undo creating a pin.

Tuple Fields of CreatePin

0: T::PinId
RenamePin(T::PinId, T::NameType)

Store the old pin name.

Tuple Fields of RenamePin

0: T::PinId1: T::NameType
CreateNet(T::NetId)

Undo creating a net.

Tuple Fields of CreateNet

0: T::NetId
ConnectPin(T::PinIdOption<T::NetId>)

Store the previous net of the pin.

Tuple Fields of ConnectPin

0: T::PinId1: Option<T::NetId>
ConnectPinInstance(T::PinInstIdOption<T::NetId>)

Store the previous net of the pin instance.

Tuple Fields of ConnectPinInstance

0: T::PinInstId1: Option<T::NetId>
RenameNet(T::NetIdOption<T::NameType>)

Store old name of the net.

Tuple Fields of RenameNet

0: T::NetId1: 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.