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

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

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
This is because when defining an enum….
当我们在声明一个enum….
Enum. find/3 has three parameters.
Build_assoc/3接收三个参数:.
Here's how our Elvis example looks as an enum.
以下是我们的Elvis示例如何看作枚举:.
No two enum members can have the same name.
没有哪两个枚举成员可以有相同的名称。
Item 77: For instance control, prefer enum types to readResolve.
第七十七条:对于实例控制,枚举类型优先于readResolve.
An enum is a type that the developer can define.
枚举是开发者可以定义的一个类型。
How do I create a generic method to return an array of the enum values instead of its constants?
如何创建一个泛型方法来返回枚举的值而不是其常量??
Enum The size of an machine word.
Othertypes一个机器字(machineword)的大小.
In the general case, enum and struct layouts are undefined.
在一般情况下,enum和struct布局是未定义的。
Enum types User-defined types of the form enum E{…}.
枚举类型enumE{…}形式的用户定义的类型.
In Rust they can be an enum(Rust's keyword for a"tagged union" or"sum type").
在Rust中,它们可以是枚举(在Rust中用于“标记联合”或“求和类型”,关键字为enum):.
Enum Declares an enumeration and defines the values of its members.
Enum语句声明一个枚举并定义其成员的值。
Listing 15-2: The first attempt at defining an enum to represent a cons list data structure of i32 values.
示例15-2:第一次尝试定义一个代表i32值的conslist数据结构的枚举.
The enum hack is worth knowing about for several reasons.
Theenumhack有几个值得被人所知的原因。
Home> Language Extensions> Standard C and standard C++ language extensions> Structure,union, enum, and bitfield extensions.
Home>语言扩展>标准C和标准C++语言扩展>结构、联合、枚举和位域扩展.
Similarly, enum values can have an underlying value like Tuesday= 72.
类似地,枚举的值可以具有基础值,例如Tuesday=72。
Enum declarations may appear in the same places that class declarations can occur.
枚举的声明可以出现在类声明的相同地方。
For example, here is the denition of an enum type named Season whose values are the names of the four seasons of the year.
例如,下面是一个名为Season的枚举类型的定义,其值是一年中四个季节的名称:.
Enum declarations may appear in the same places that class declarations can occur.
枚举声明可以在类声明可以发生的地方出现。
Finally, in a struct or enum definition, all lifetimes must be explicitly declared.
最后,在struct或者enum定义中,所有的生命周期都必须明确声明。
Every enum type has an underlying type, which must be one of the eight integral types.
每种枚举类型都具有一个基础类型,该基础类型必须是八种整型之一。
The constant value for each enum member must be in the range of the underlying type of the enum.
每个枚举成员的常数值必须在该枚举的基础类型的范围之内。
The enum is a flags enum and you have more than 32 flags, or expect to have more in the future.
枚举是标志枚举,且您有32个以上的标志或者期望在将来有更多的标志。
That property of IP addresses makes the enum data structure appropriate for this case, because enum values can only be one of the variants.
IP地址的这个特性使得枚举数据结构非常适合这个场景,因为枚举值只可能是其中一个成员。
Enum may implement many interfaces but cannot extend any class because it internally extends Enum class.
枚举可以实现许多接口,但不能扩展任何类,因为它在内部扩展Enum类.
Other than this circularity restriction, enum member initializers may freely refer to other enum member initializers, regardless of their textual position.
不同于这个循环限制,枚举成员初始化函数可以自由地指向其他枚举成员初始化函数,而不管他们的文字位置。
The Enum specification has this to say about ordinal:“Most programmers will have no use for this method.
枚举规范对此ordinal方法说道:“大多数程序员对这种方法没有用处。
Technically, an enum is considered to be a special kind of class, but that is not important for now.
从技术上讲,枚举被认为是一种特殊的类,但这并不重要。
Enum members have the type of their containing enum type(except within other enum member initializers: see§14.2).
枚举成员有它们所在的枚举类型的类型(除非在另一个枚举成员初始化函数中:看§14.2)。
Converting a C-style enum to an integer can be done with an as expression, like e as i64(where e is some enum).
把C风格的枚举转换成一个整型,可以通过as表达式,如easi64(这里e是某个枚举)。
结果: 80, 时间: 0.0233
S

同义词征Enum

顶级字典查询

英语 - 中文