STRUCT 中文是什么意思 - 中文翻译 S

名词

在 英语 中使用 Struct 的示例及其翻译为 中文

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
A struct can include….
一个结构体可以包含….
Our original data table defined as a struct.
我们原始的数据表定义为一个结构
You can define a struct with no members at all.
你可以定义一个根本没有任何成员的结构体:.
Struct name_compare{// compare Records using"name" as the key.
Structname_compare{//使用"name"作为键比较Record.
We can declare a method on non struct types too.
你也可以为非结构体类型声明方法。
Each struct is allowed to have multiple impl blocks.
每个结构体都允许拥有多个impl块。
Here we have defined a struct and named it Rectangle.
这里我们定义了一个结构体并称其为Rectangle。
The socket structure in Linux is struct sock, which is defined in linux/include/net/sock. h.
Linux中的socket结构是structsock,这个结构是在linux/include/net/sock.h中定义的。
In the general case, enum and struct layouts are undefined.
在一般情况下,enum和struct布局是未定义的。
Finally, in a struct or enum definition, all lifetimes must be explicitly declared.
最后,在struct或者enum定义中,所有的生命周期都必须明确声明。
The first step would be create a struct type to represent the error.
第一步是创建一个struct类型来表示错误。
A struct corresponds to a class in Java, but the members of a struct cannot be methods, only variables.
Struct对应Java中的类,但struct组成不是方法而只能是变量.
Here, we're creating a new instance of the User struct, which has a field named email.
这里我们创建了一个新的User结构体实例,它有一个叫做email的字段。
To define a structure, you must use the struct statement.
为了定义结构,您必须使用struct语句。
If you're familiar with an object-oriented language, a struct is like an object's data attributes.
如果你熟悉一门面向对象语言,struct就像对象中的数据属性。
If you have an int, a struct or an array, assign­ment copies the contents of the object.
如果你有一个int或struct或数组,赋值拷贝物件的内容。
Changed in version 3.3: tolist()now supports all single character native formats in struct module syntax as well as multi-dimensional representations.
在3.3版更改:tolist()现在支持struct模块语法中的所有单字符原生格式以及多维表示形式。
Thus, a class or struct cannot declare both an implicit and an explicit conversion operator with the same source and target types.
因此一个类或结构不能用相同的源和目标类型同时声明一个implicit和一个explicit转换。
Thus we have used the methods on the error struct type to provide more information about the error.
因此,我们使用了struct错误类型的方法来提供更多关于错误的信息。
Thus, a class or struct cannot declare both an implicit and an explicit conversion operator with the same source and target types.
因此,类或结构不能同时声明具有相同源类型和目标类型的implicit和explicit转换运算符。
To call this associated function, we use the:: syntax with the struct name; let sq= Rectangle::square(3); is an example.
使用结构体名和::语法来调用这个关联函数:比如letsq=Rectangle::square(3);。
Using struct, typedef or class, encapsulate both vectors and matrices into a pair of abstract types called vect and matrix, respectively.
使用struct,typedef或class,将矢量和矩阵分别封装到一对称为vect和matrix的抽象类型中。
In Listing 18-23, we have a Point struct that holds a coordinate in three-dimensional space.
在示例18-23中,有一个Point结构体存放了三维空间中的坐标。
If a class or struct implements an interface that contains hidden members, then some members must necessarily be implemented through explicit interface member implementations.
如果类或结构实现一个包含被隐藏成员的接口,那么一些成员必须通过显式接口成员实现来实现。
If the method is applied to a pointer to the struct then the pointer will be passed(like passed by reference).
如果将方法应用于指向该结构的指针,则该指针将被传递(就像通过引用传递一样)。
If a class or struct implements an interface that contains hidden members, then some members must necessarily be implemented through explicit interface member implementations.
如果一个类或结构实现了一个包含隐藏成员的接口,那么其中一些成员就需要通过显式接口成员实现程序来实现。
It is not possible to have constants of other struct types, but a similar effect is provided by static readonly fields.
不可能有其它结构类型的常数,但是staticreadonly域提供了相似的作用。
Asserting the underlying struct type and getting more information from the struct fields".
断言底层类型并从struct获取更多信息”struct字段.
An indexer introduced in a class or struct hides all base class indexers with the same signature(parameter count and types).
类或结构中引入的索引器隐藏所有具有相同签名(参数个数和类型)的基类索引器。
结果: 29, 时间: 0.0314

顶级字典查询

英语 - 中文