TRAIT in English translation

trait
特征
特质
性状
的特点
特性
一特性
一特点
traits
特征
特质
性状
的特点
特性
一特性
一特点

Examples of using Trait in Chinese and their translations into English

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
Accordingtotraittheories,introversionand外向是一个持续的维度的一部分,中间有许多人。
According to trait theories, extraversion and introversion are part of the continuous dimension, with lots of people in the middle.
状态对象共享功能:当然,在Rust中使用结构体和trait而不是对象和继承。
The state objects share functionality: in Rust, of course, we use structs and traits rather than objects and inheritance.
因为实现了summarize_author,Summarytrait就提供了summarize方法的功能,且无需编写更多的代码。
Because we have implemented summarize_author, the Summary trait has given us the behavior of the summarize method without requiring us to write any more code.
接下来,为了丰富本章的内容,让我们讨论一下Send和Synctrait以及如何对自定义类型使用他们。
Let's round out this chapter by talking about the Send and Sync traits and how we could use them with custom types.
从理论上讲,同样的配置应该适用于THC和CBD,但目前,Trait只关注CBD。
Theoretically, this same setup should work for THC as it does for CBD, but for now, Trait is only focusing on CBD.
但最近对人格科学研究的综述指出,性格(personalitytrait)可通过持续干预和重大生活事件而改变。
But a review of recent research in personality science points to the possibility that personality traits can change through persistent intervention and major….
在notify函数体中,可以调用任何来自Summarytrait的方法,比如summarize。
In the body of notify, we can call any methods on item that come from the Summary trait, like summarize.
我们可以定义一个函数notify来调用其参数item上的summarize方法,该参数为一些实现了Summarytrait的方法。
We can define a function notify that calls the summarize method on its parameter item, which is of some type that implements the Summary trait.
Rust中的trait(「对象安全」)的一个子集可以通过trait对象用于动态调度。
A subset of Rust's traits(the“object safe” ones) can be used for dynamic dispatch via trait objects.
当用在trait方法中时,__CLASS__是调用trait方法的类的名字。
When used in a trait method,__CLASS__ is the name of the class the trait is used in.
相反,你可以使用trait对象,第十七章会讲到它。
Instead, you can use a trait object, which we will cover in Chapter 17.
这里使用trait关键字来声明一个trait,后面是trait的名字,在这个例子中是Summary。
Here, we declare a trait using the trait keyword and then the trait's name, which is Summary in this case.
对于在trait上定义的方法,必须显式导入trait的声明。
For methods defined on a trait, you have to explicitly import the trait declaration.
这种发展对植物和Trait的制造过程产生了一些影响,其中只有一种是溶于水的大麻素。
This development has had several consequences for the plant and the manufacturing processes of Trait, only one of which is cannabinoids that dissolve in water.
一个无法被派生的trait的例子是为终端用户处理格式化的Display。
An example of a trait that can't be derived is Display, which handles formatting for end users.
如此,trait可以实现很多有用的功能而只需实现一小部分特定内容。
In this way, a trait can provide a lot of useful functionality and only require implementors to specify a small part of it.
Trait和一个类相似,但仅仅旨在用细粒度和一致的方式来组合功能。
A Trait is similar to a class, but only intended to group functionality in a fine-grained and consistent way.
每一个trait都是一个可以通过trait名称来引用的动态大小类型。
Every trait is a dynamically sized type we can refer to by using the name of the trait.
不过我们在上一部分见过这种情况的解决办法:可以使用trait对象:.
We saw a solution to this in the previous section, though: we can use a trait object.
在Scala中,如果一个类继承自某个trait,则该类实现了trait的接口,并继承了trait的所有代码。
In Scala, when a class inherits from a trait, it implements that trait's interface, and inherits all the code contained in the trait.
Results: 111, Time: 0.0228

Top dictionary queries

Chinese - English