структуры, трейты, перечисления вместо классовstructs, traits, enums instead of classes
В Rust нет классов и деструкторов в классическом виде — их работу берут на себя struct/enum, ассоциированные функции и трейт Drop. Из 14 базовых концепций ООП сюда не попали 4, у которых в Rust нет реального языкового аналога даже по конвенции: перегрузка сигнатур, свойства, наследование, события. Взамен добавлен полиморфизм — statically через generics/монoморфизацию и dynamically через dyn Trait. Плюс то, что делает Rust особенным в этой области: трейты как интерфейсы, newtype, derive-макросы, orphan rule. Каркас: 15 карточек, страницы ещё не написаны.Rust has no classes or destructors in the classic sense — struct/enum, associated functions, and the Drop trait do that work instead. Of the 14 baseline OOP concepts, 4 are missing here because Rust has no real language analogue for them even by convention: signature overloading, properties, inheritance, events. Polymorphism was added in their place — static via generics/monomorphization and dynamic via dyn Trait. Plus what makes Rust distinctive in this space: traits as interfaces, the newtype pattern, derive macros, the orphan rule. Skeleton: 15 cards, pages not yet written.
статус и как читать n/astatus and how to read n/a
Это каркас: 2 подраздела и 15 карточек зафиксированы, страницы ещё не написаны. Из 14 базовых концепций ООП в списке нет 4: перегрузки сигнатур, свойств, наследования и событий — в Rust для них нет реального языкового аналога даже по конвенции, поэтому отдельные карточки не заводились. Вместо них добавлен полиморфизм (generics vs dyn Trait). Оставшиеся карточки (конструкторы, деструкторы, индексаторы и другие) описывают механизм, который в Rust действительно существует, просто не в форме class/extends.This is a skeleton: 2 subsections and 15 cards are locked in, pages not yet written. 4 of the 14 baseline OOP concepts are missing from the list — signature overloading, properties, inheritance, and events — since Rust has no real language analogue for any of them even by convention, so no dedicated cards were created. Polymorphism (generics vs dyn Trait) was added in their place. The remaining cards (constructors, destructors, indexers, and others) describe a mechanism that genuinely exists in Rust, just not in class/extends form.