pub trait Stick<T> {
type Target;
// Required method
fn stick(self, item: T) -> Self::Target;
}
Expand description
This trait helps to join array with a new element.
pub trait Stick<T> {
type Target;
// Required method
fn stick(self, item: T) -> Self::Target;
}
This trait helps to join array with a new element.