Skip to main content

FoldAdd

Trait FoldAdd 

Source
pub trait FoldAdd {
    type Output;
}
Expand description

A type operator that gives the sum of all elements of an Array.

Required Associated Types§

Source

type Output

The type of the result of the sum

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl FoldAdd for ATerm

Source§

type Output = Null

Source§

impl<V, A> FoldAdd for TArr<V, A>
where A: FoldAdd, FoldSum<A>: Add<V>,

Source§

type Output = <<A as FoldAdd>::Output as Add<V>>::Output