pub trait C2RPlan: Sized {
type Real: AlignedAllocable;
type Complex: AlignedAllocable;
// Required methods
fn new(
shape: &[usize],
in_: &mut [Self::Complex],
out: &mut [Self::Real],
flag: Flag,
) -> Result<Self>;
fn c2r(
&mut self,
in_: &mut [Self::Complex],
out: &mut [Self::Real],
) -> Result<()>;
// Provided method
fn aligned(shape: &[usize], flag: Flag) -> Result<Self> { ... }
}Expand description
Trait for the plan of Complex-to-Real transformation
Required Associated Types§
type Real: AlignedAllocable
type Complex: AlignedAllocable
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".