pub trait ComplexCore:
CubePrimitive
+ Add<Output = Self>
+ Sub<Output = Self>
+ Mul<Output = Self>
+ Div<Output = Self>
+ Neg<Output = Self>
+ Copy
+ Clone
+ PartialEq
+ Debug
+ Send
+ Sync
+ 'static {
type FloatElem: Scalar;
// Provided methods
fn conj(self) -> Self { ... }
fn real_val(self) -> Self::FloatElem { ... }
fn imag_val(self) -> Self::FloatElem { ... }
fn supported_complex_uses<R: Runtime>(
client: &ComputeClient<R>,
) -> EnumSet<ComplexUsage> { ... }
}Required Associated Types§
Provided Methods§
fn conj(self) -> Self
fn real_val(self) -> Self::FloatElem
fn imag_val(self) -> Self::FloatElem
fn supported_complex_uses<R: Runtime>( client: &ComputeClient<R>, ) -> EnumSet<ComplexUsage>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".