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

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

Trait for complex-conjugation transformations.

Required Methods§

source

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

Performs a complex conjugation in-place.

Provided Methods§

source

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

Performs a complex conjugation and returns the complex-conjugated result.

§Returns

The complex-conjugated result.

Object Safety§

This trait is not object safe.

Implementors§