trait
名词 n.
发音 trā
英文释义
名词 n.
-
An identifying characteristic, habit or trend.
— inherited traits and acquired traits
-
An uninstantiable collection of methods that provides functionality to a class by using the class’s own interface.
— Traits are somewhat between an interface and a mixin.
词形变化
词汇关系
词源
Borrowed from Middle French trait (“line, feature”), from Latin tractus (“drawing, pulling”), from Latin trahō. Doublet of tract.
0 次浏览
数据来源: Wiktionary