associated function
A function inside impl that isn't called on a value, like String::new.
An associated function has no self parameter and is called with Type::name(...); new is the conventional constructor.
See also
A function inside impl that isn't called on a value, like String::new.
An associated function has no self parameter and is called with Type::name(...); new is the conventional constructor.
See also