pub trait ReduceAll<A, T>: PlatformInstance {
// Required methods
fn all(self, access: A) -> Result<bool, Error>;
fn any(self, access: A) -> Result<bool, Error>;
fn max(self, access: A) -> Result<T, Error>;
fn min(self, access: A) -> Result<T, Error>;
fn product(self, access: A) -> Result<T, Error>;
fn sum(self, access: A) -> Result<T, Error>;
}
Required Methods§
fn all(self, access: A) -> Result<bool, Error>
fn any(self, access: A) -> Result<bool, Error>
fn max(self, access: A) -> Result<T, Error>
fn min(self, access: A) -> Result<T, Error>
fn product(self, access: A) -> Result<T, Error>
fn sum(self, access: A) -> Result<T, Error>
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.