Trait ComplexConjugationTransformable

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§