roles background
BeDict Logo

roles

/ɹəʊlz/ /ɹoʊlz/

Meanings

noun

角色,职责,作用

Examples :

"Her dream was to get a role in a Hollywood movie, no matter how small."
她的梦想是在好莱坞电影里演个角色,不管角色多么小。
noun

Examples :

"In Raku programming, a `Student` class and a `Teacher` class can both use `roles` like `Callable` or `Serializable` to add extra behaviors without making them share a direct inheritance relationship. "
在Raku编程中,`Student`类和`Teacher`类都可以使用像`Callable`或`Serializable`这样的`角色`,来增加额外的行为,而无需让它们之间产生直接的继承关系。