ArrayInstanceRound

Trait ArrayInstanceRound 

Source
pub trait ArrayInstanceRound: ArrayInstance {
    type Round: HasAfEnum;

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

Defines a rounding method round.

Required Associated Types§

Required Methods§

Source

fn round(&self) -> ArrayExt<Self::Round>

Round to the nearest integer, element-wise.

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§