pub trait Initialize<T> { type Output; // Required method fn init(self, with: T) -> Self::Output; }
Initialize provides a mechanism for initializing some object using a value of type T to produce another object.
Initialize
T
initializes the object using the given value, consuming the caller to produce another object