Trait ReduceArgs

Source
pub trait ReduceArgs: Debug {
    // Required method
    fn dims(&self) -> &impl Dims;

    // Provided method
    fn keep_dim(&self) -> bool { ... }
}

Required Methods§

Source

fn dims(&self) -> &impl Dims

Provided Methods§

Source

fn keep_dim(&self) -> bool

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.

Implementations on Foreign Types§

Source§

impl<T> ReduceArgs for (T, bool)
where T: Dims,

Source§

fn dims(&self) -> &impl Dims

Source§

fn keep_dim(&self) -> bool

Source§

impl<T> ReduceArgs for (T, bool, usize)
where T: Dims,

Source§

fn dims(&self) -> &impl Dims

Source§

fn keep_dim(&self) -> bool

Source§

impl<T> ReduceArgs for (T, usize)
where T: Dims,

Source§

fn dims(&self) -> &impl Dims

Source§

fn keep_dim(&self) -> bool

Implementors§

Source§

impl<T> ReduceArgs for T
where T: Dims,