scsys_crypto/traits/
concat.rs

1/*
2    Appellation: concat <module>
3    Contrib: @FL03
4*/
5
6/// this trait defines a common method for concatenating two entities into some new type.
7pub trait Concat<Rhs = Self> {
8    type Output;
9    /// Concatenate two slices into a new vector.
10    fn concat(&self, other: Rhs) -> Self::Output;
11}