In #Rustlang `pub fn new()` is used as a constructor. Use the `Self` alias to avoid typing the full type name three times:
impl LongComplexTypeName<Annoying> {
pub fn new() -> Self {
Self {
}
}
}
Note that `Self` (uppercase `S`) is a type name, as opposed to `self` variable shorthand used in methods.
Try it: https://is.gd/8gfXQX