pub trait TimeReversalTransformable: ComplexConjugationTransformable {
    // Required method
    fn transform_timerev_mut(
        &mut self,
    ) -> Result<&mut Self, TransformationError>;

    // Provided method
    fn transform_timerev(&self) -> Result<Self, TransformationError> { ... }
}
Expand description

Trait for time-reversal transformations.

This trait has a blanket implementation for any implementor of the SpinUnitaryTransformable trait and the ComplexConjugationTransformable trait together with the DefaultTimeReversalTransformable marker trait.

Required Methods§

source

fn transform_timerev_mut(&mut self) -> Result<&mut Self, TransformationError>

Performs a time-reversal transformation in-place.

Provided Methods§

source

fn transform_timerev(&self) -> Result<Self, TransformationError>

Performs a time-reversal transformation and returns the time-reversed result.

§Returns

The time-reversed result.

Object Safety§

This trait is not object safe.

Implementors§