I am currently reading the Swift language documentation and came across these sentences in the chapter about methods:
Similarly, type methods on structures and enumerations can access static properties by using the static property's name without a type name prefix.
Within the body of a type method, the implicit self property refers to the type itself, rather than an instance of that type. For structures and enumerations, this means that you can use self to disambiguate between static properties and static method parameters.
I was under the impression that these rules are also valid for classes and instances of classes. My question is, why are only structs and enums being mentioned? Is this just an accidental omission in the documentary or do different rules indeed apply for classes and their instances?