docs

core::collections::broadcast

API 参考只有英文版,由标准库源代码中的英文文档注释生成。

the element-wise dot operators on List<T>: List op List (same length, else a panic), List op T and T op List (the scalar applies to every element). Arithmetic / bitwise ones give List<T>, comparisons List<bool>; .&& / .|| combine List<bool>s without short-circuit. An operator on core collections in source is fused into one loop by the compiler; these impls serve trait bounds, method calls and fn values.