pub enum Operation {
Show 68 variants SingleQubitGate(SingleQubitGate), RotateZ(RotateZ), RotateX(RotateX), RotateY(RotateY), PauliX(PauliX), PauliY(PauliY), PauliZ(PauliZ), SqrtPauliX(SqrtPauliX), InvSqrtPauliX(InvSqrtPauliX), Hadamard(Hadamard), SGate(SGate), TGate(TGate), PhaseShiftState1(PhaseShiftState1), PhaseShiftState0(PhaseShiftState0), RotateAroundSphericalAxis(RotateAroundSphericalAxis), PragmaSetNumberOfMeasurements(PragmaSetNumberOfMeasurements), PragmaSetStateVector(PragmaSetStateVector), PragmaSetDensityMatrix(PragmaSetDensityMatrix), PragmaRepeatGate(PragmaRepeatGate), PragmaOverrotation(PragmaOverrotation), PragmaBoostNoise(PragmaBoostNoise), PragmaStopParallelBlock(PragmaStopParallelBlock), PragmaGlobalPhase(PragmaGlobalPhase), PragmaSleep(PragmaSleep), PragmaActiveReset(PragmaActiveReset), PragmaStartDecompositionBlock(PragmaStartDecompositionBlock), PragmaStopDecompositionBlock(PragmaStopDecompositionBlock), PragmaDamping(PragmaDamping), PragmaDepolarising(PragmaDepolarising), PragmaDephasing(PragmaDephasing), PragmaRandomNoise(PragmaRandomNoise), PragmaGeneralNoise(PragmaGeneralNoise), PragmaConditional(PragmaConditional), PragmaChangeDevice(PragmaChangeDevice), CNOT(CNOT), SWAP(SWAP), ISwap(ISwap), FSwap(FSwap), SqrtISwap(SqrtISwap), InvSqrtISwap(InvSqrtISwap), XY(XY), ControlledPhaseShift(ControlledPhaseShift), ControlledPauliY(ControlledPauliY), ControlledPauliZ(ControlledPauliZ), MolmerSorensenXX(MolmerSorensenXX), VariableMSXX(VariableMSXX), GivensRotation(GivensRotation), GivensRotationLittleEndian(GivensRotationLittleEndian), Qsim(Qsim), Fsim(Fsim), SpinInteraction(SpinInteraction), Bogoliubov(Bogoliubov), PMInteraction(PMInteraction), ComplexPMInteraction(ComplexPMInteraction), PhaseShiftedControlledZ(PhaseShiftedControlledZ), MultiQubitMS(MultiQubitMS), MultiQubitZZ(MultiQubitZZ), MeasureQubit(MeasureQubit), PragmaGetStateVector(PragmaGetStateVector), PragmaGetDensityMatrix(PragmaGetDensityMatrix), PragmaGetOccupationProbability(PragmaGetOccupationProbability), PragmaGetPauliProduct(PragmaGetPauliProduct), PragmaRepeatedMeasurement(PragmaRepeatedMeasurement), DefinitionFloat(DefinitionFloat), DefinitionComplex(DefinitionComplex), DefinitionUsize(DefinitionUsize), DefinitionBit(DefinitionBit), InputSymbolic(InputSymbolic),
}
Expand description

Enum of all Operations implementing Operate

Variants

SingleQubitGate(SingleQubitGate)

Variant for SingleQubitGate

RotateZ(RotateZ)

Variant for RotateZ

RotateX(RotateX)

Variant for RotateX

RotateY(RotateY)

Variant for RotateY

PauliX(PauliX)

Variant for PauliX

PauliY(PauliY)

Variant for PauliY

PauliZ(PauliZ)

Variant for PauliZ

SqrtPauliX(SqrtPauliX)

Variant for SqrtPauliX

InvSqrtPauliX(InvSqrtPauliX)

Variant for InvSqrtPauliX

Hadamard(Hadamard)

Variant for Hadamard

SGate(SGate)

Variant for SGate

TGate(TGate)

Variant for TGate

PhaseShiftState1(PhaseShiftState1)

Variant for PhaseShiftState1

PhaseShiftState0(PhaseShiftState0)

Variant for PhaseShiftState0

RotateAroundSphericalAxis(RotateAroundSphericalAxis)

Variant for RotateAroundSphericalAxis

PragmaSetNumberOfMeasurements(PragmaSetNumberOfMeasurements)

Variant for PragmaSetNumberOfMeasurements

PragmaSetStateVector(PragmaSetStateVector)

Variant for PragmaSetStateVector

PragmaSetDensityMatrix(PragmaSetDensityMatrix)

Variant for PragmaSetDensityMatrix

PragmaRepeatGate(PragmaRepeatGate)

Variant for PragmaRepeatGate

PragmaOverrotation(PragmaOverrotation)

Variant for PragmaOverrotation

PragmaBoostNoise(PragmaBoostNoise)

Variant for PragmaBoostNoise

PragmaStopParallelBlock(PragmaStopParallelBlock)

Variant for PragmaStopParallelBlock

PragmaGlobalPhase(PragmaGlobalPhase)

Variant for PragmaGlobalPhase

PragmaSleep(PragmaSleep)

Variant for PragmaSleep

PragmaActiveReset(PragmaActiveReset)

Variant for PragmaActiveReset

PragmaStartDecompositionBlock(PragmaStartDecompositionBlock)

Variant for PragmaStartDecompositionBlock

PragmaStopDecompositionBlock(PragmaStopDecompositionBlock)

Variant for PragmaStopDecompositionBlock

PragmaDamping(PragmaDamping)

Variant for PragmaDamping

PragmaDepolarising(PragmaDepolarising)

Variant for PragmaDepolarising

PragmaDephasing(PragmaDephasing)

Variant for PragmaDephasing

PragmaRandomNoise(PragmaRandomNoise)

Variant for PragmaRandomNoise

PragmaGeneralNoise(PragmaGeneralNoise)

Variant for PragmaGeneralNoise

PragmaConditional(PragmaConditional)

Variant for PragmaConditional

PragmaChangeDevice(PragmaChangeDevice)

Variant for PragmaChangeDevice

CNOT(CNOT)

Variant for CNOT

SWAP(SWAP)

Variant for SWAP

ISwap(ISwap)

Variant for ISwap

FSwap(FSwap)

Variant for FSwap

SqrtISwap(SqrtISwap)

Variant for SqrtISwap

InvSqrtISwap(InvSqrtISwap)

Variant for InvSqrtISwap

XY(XY)

Variant for XY

ControlledPhaseShift(ControlledPhaseShift)

Variant for ControlledPhaseShift

ControlledPauliY(ControlledPauliY)

Variant for ControlledPauliY

ControlledPauliZ(ControlledPauliZ)

Variant for ControlledPauliZ

MolmerSorensenXX(MolmerSorensenXX)

Variant for MolmerSorensenXX

VariableMSXX(VariableMSXX)

Variant for VariableMSXX

GivensRotation(GivensRotation)

Variant for GivensRotation

GivensRotationLittleEndian(GivensRotationLittleEndian)

Variant for GivensRotationLittleEndian

Qsim(Qsim)

Variant for Qsim

Fsim(Fsim)

Variant for Fsim

SpinInteraction(SpinInteraction)

Variant for SpinInteraction

Bogoliubov(Bogoliubov)

Variant for Bogoliubov

PMInteraction(PMInteraction)

Variant for PMInteraction

ComplexPMInteraction(ComplexPMInteraction)

Variant for ComplexPMInteraction

PhaseShiftedControlledZ(PhaseShiftedControlledZ)

Variant for PhaseShiftedControlledZ

MultiQubitMS(MultiQubitMS)

Variant for MultiQubitMS

MultiQubitZZ(MultiQubitZZ)

Variant for MultiQubitZZ

MeasureQubit(MeasureQubit)

Variant for MeasureQubit

PragmaGetStateVector(PragmaGetStateVector)

Variant for PragmaGetStateVector

PragmaGetDensityMatrix(PragmaGetDensityMatrix)

Variant for PragmaGetDensityMatrix

PragmaGetOccupationProbability(PragmaGetOccupationProbability)

Variant for PragmaGetOccupationProbability

PragmaGetPauliProduct(PragmaGetPauliProduct)

Variant for PragmaGetPauliProduct

PragmaRepeatedMeasurement(PragmaRepeatedMeasurement)

Variant for PragmaRepeatedMeasurement

DefinitionFloat(DefinitionFloat)

Variant for DefinitionFloat

DefinitionComplex(DefinitionComplex)

Variant for DefinitionComplex

DefinitionUsize(DefinitionUsize)

Variant for DefinitionUsize

DefinitionBit(DefinitionBit)

Variant for DefinitionBit

InputSymbolic(InputSymbolic)

Variant for InputSymbolic

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements the From trait $\textit{from}$ this Operation.

Performs the conversion.

Implements InvolveQubits trait for the qubits involved in this Operation.

Returns a list of all involved qubits.

Implements the universal basic trait Operate for this Operation.

Returns tags classifying the type of the Operation.

Returns hqslang name of the Operation.

Returns true when Operation has symbolic parameters.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Implements Substitute trait allowing to replace symbolic parameters and to perform qubit mappings.

Substitutes symbolic parameters in clone of the operation.

Remaps the qubits in clone of the operation.

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.

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.

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.

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.

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.

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.

The type returned in the event of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

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.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

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.

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.

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.

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.

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.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Implements the core::convert::TryFrom trait $\textit{into}$ this Operation.

The type returned in case of a conversion error.

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.

Should always be Self

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more

Checks if self is actually part of its subset T (and can be converted to it).

Use with care! Same as self.to_subset but without any property checks. Always succeeds.

The inclusion map: converts self to the equivalent element of its superset.

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)

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.