Trait aoc::util::slice::SliceOps2

source ·
pub trait SliceOps2<T: Integer<T>> {
    // Required method
    fn fold_decimal(self) -> T;
}

Required Methods§

source

fn fold_decimal(self) -> T

Folds a slice of digits into an integer.

Implementations on Foreign Types§

source§

impl<T: Integer<T>> SliceOps2<T> for &[T]

source§

fn fold_decimal(self) -> T

Implementors§