书栈网 · BookStack 本次搜索耗时 0.023 秒,为您找到 650 个相关结果.
  • typedesc[T]

    typedesc[T] typedesc[T] 在许多情况下,Nim允许您将类型的名称视为常规值。 这些值仅在编译阶段存在,但由于所有值必须具有类型,因此 typedesc 被视为其特殊类型。 typedesc 就像一个通用类型。例如,符号 int 的类型是 typedesc [int] 。 就像常规泛型类型一样,当泛型参数被省略时, ty...
  • Pre-defined integer types

    528 2020-10-18 《Nim v1.4 Manual》
    Pre-defined integer types Pre-defined integer types These integer types are pre-defined: int the generic signed integer type; its size is platform dependent and has the same...
  • Procedures

    83 2024-07-11 《Nim v2.0 Manual》
    Procedures Procedures What most programming languages call methods or functions are called procedures in Nim. A procedure declaration consists of an identifier, zero or more fo...
  • Foreign Function Interface API

    425 2022-06-23 《Deno v1.21.3 Manual》
    Foreign Function Interface API Usage Non-blocking FFI Supported types deno_bindgen Foreign Function Interface API As of Deno 1.13 and later, the FFI (foreign function interf...
  • Foreign Function Interface API

    333 2022-02-21 《Deno v1.18.0 Manual》
    Foreign Function Interface API Usage Non-blocking FFI Supported types deno_bindgen Foreign Function Interface API As of Deno 1.13 and later, the FFI (foreign function interf...
  • Foreign Function Interface API

    424 2022-01-19 《Deno v1.16.1 Manual》
    Foreign Function Interface API Usage Non-blocking FFI Supported types deno_bindgen Foreign Function Interface API As of Deno 1.13 and later, the FFI (foreign function interf...
  • Foreign Function Interface API

    348 2022-04-17 《Deno v1.20.6 Manual》
    Foreign Function Interface API Usage Non-blocking FFI Supported types deno_bindgen Foreign Function Interface API As of Deno 1.13 and later, the FFI (foreign function interf...
  • Object variants

    753 2020-10-18 《Nim v1.4 Manual》
    Object variants Object variants Often an object hierarchy is overkill in certain situations where simple variant types are needed. Object variants are tagged unions discrimina...
  • Foreign Function Interface API

    301 2021-11-07 《Deno v1.15.2 Manual》
    Foreign Function Interface API Usage Non-blocking FFI Supported types deno_bindgen Foreign Function Interface API As of Deno 1.13 and later, the FFI (foreign function interf...
  • 引用和指针类型

    引用和指针类型 引用和指针类型 引用(类似于其他编程语言中的指针)是引入多对一关系的一种方式。这意味着不同的引用可以指向并修改内存中的相同位置(也称为 aliasing “别名”)。 Nim 区分 traced “追踪”、untraced “未追踪” 引用。未追踪引用也叫 指针 。 追踪引用指向垃圾回收堆中的对象,未追踪引用指向手动分配对象或内存中...