usecrate::Push;/// This is very usefull to be use on combinator like fold.
/// For example, `.fold_bounds(.., Vec::new, Acc::acc)`.
pubtraitAcc{/// Item stocked in the collection
typeItem;/// Accumulate item into Self. For example, for a vector that simply a push.
fnacc(self, item:Self::Item)->Self;}impl<T> Acc forTwhereSelf: Push,
{typeItem=<T as Push>::Item;fnacc(mutself, item:Self::Item)->Self{self.push(item);self}}