DimBroadcastableAPI

Trait DimBroadcastableAPI 

Source
pub trait DimBroadcastableAPI: DimBaseAPI {
    // Provided methods
    fn broadcastable_from<D2>(&self, other: &D2) -> bool
       where D2: DimBaseAPI { ... }
    fn broadcastable_to<D2>(&self, other: &D2) -> bool
       where D2: DimBaseAPI { ... }
}

Provided Methods§

Source

fn broadcastable_from<D2>(&self, other: &D2) -> bool
where D2: DimBaseAPI,

Check whether second shape can be broadcasted to first shape.

Order of the two parameters depends.

Source

fn broadcastable_to<D2>(&self, other: &D2) -> bool
where D2: DimBaseAPI,

Check whether first shape can be broadcasted to second shape.

Order of the two parameters depends.

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<D> DimBroadcastableAPI for D
where D: DimAPI,