Trait TupleSelf

Source
pub trait TupleSelf<A: Number>:
    TupleMap<A, R<A> = Self>
    + TupleFold<A>
    + TupleMath<A, A>
    + TupleIdentity {
    // Provided methods
    fn round(self) -> Self { ... }
    fn abs(self) -> Self { ... }
    fn sgn(self) -> Self { ... }
    fn pow2(self) -> Self { ... }
    fn mag(self) -> A { ... }
    fn norm(self) -> Self { ... }
}

Provided Methods§

Source

fn round(self) -> Self

Source

fn abs(self) -> Self

Source

fn sgn(self) -> Self

Source

fn pow2(self) -> Self

Source

fn mag(self) -> A

Source

fn norm(self) -> Self

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§

Source§

impl<S: TupleMap<A, R<A> = Self> + TupleFold<A> + TupleMath<A, A> + TupleIdentity, A: Number> TupleSelf<A> for S