ArrayInstanceAbs

Trait ArrayInstanceAbs 

Source
pub trait ArrayInstanceAbs: ArrayInstance {
    type AbsValue: HasAfEnum;

    // Required method
    fn abs(&self) -> ArrayExt<Self::AbsValue>;
}
Expand description

Defines an absolute value method abs.

Required Associated Types§

Required Methods§

Source

fn abs(&self) -> ArrayExt<Self::AbsValue>

Calculate the element-wise absolute value.

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§