std.lang
The entries of std.lang in the Zig reference. This page has 107 cards.
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- enum
- Module
std.lang
- Kind
- namespace
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- enum
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- enum
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- enum
- Module
std.lang
The calling convention of a function defines how arguments and return values are passed, as well as any other requirements which callers and callees must respect, such as register preservation and stack alignment.
- Kind
- union
- Module
std.lang
pub fn archs(cc: CallingConvention) []const std.Target.Cpu.Arch
Returns the array of `std.Target.Cpu.Arch` to which this `CallingConvention` applies.
- Kind
- function
- Module
std.lang
Options for the `arc_interrupt` calling convention.
- Kind
- struct
- Module
std.lang
- Kind
- enum
- Module
std.lang
Options for the `arm_interrupt` calling convention.
- Kind
- struct
- Module
std.lang
- Kind
- enum
- Module
std.lang
This is an alias for the default C calling convention for this target.
- Kind
- constant
- Module
std.lang
Options shared across most calling conventions.
- Kind
- struct
- Module
std.lang
pub fn eql(a: CallingConvention, b: CallingConvention) bool
- Kind
- function
- Module
std.lang
- Kind
- constant
- Module
std.lang
Options for the `microblaze_interrupt` calling convention.
- Kind
- struct
- Module
std.lang
- Kind
- enum
- Module
std.lang
Options for the `mips_interrupt` and `mips64_interrupt` calling conventions.
- Kind
- struct
- Module
std.lang
- Kind
- enum
- Module
std.lang
Options for the `riscv32_interrupt` and `riscv64_interrupt` calling conventions.
- Kind
- struct
- Module
std.lang
- Kind
- enum
- Module
std.lang
Options for the `sh_interrupt` calling convention.
- Kind
- struct
- Module
std.lang
- Kind
- enum
- Module
std.lang
- Kind
- struct
- Module
std.lang
- Kind
- enum
- Module
std.lang
- Kind
- struct
- Module
std.lang
- Kind
- struct
- Module
std.lang
- Kind
- enum
- Module
std.lang
- Kind
- type
- Module
std.lang
- Kind
- constant
- Module
std.lang
pub fn withStackAlign(cc: CallingConvention, incoming_stack_alignment: u64) CallingConvention
- Kind
- function
- Module
std.lang
Options for x86 calling conventions which support the regparm attribute to pass some arguments in registers.
- Kind
- struct
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- enum
- Module
std.lang
The code model puts constraints on the location of symbols and the size of code and data.
- Kind
- enum
- Module
std.lang
This enum is set by the compiler and communicates which compiler implementation is used to produce machine code.
- Kind
- enum
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- enum
- Module
std.lang
- Kind
- constant
- Module
std.lang
- Kind
- constant
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
- Kind
- union
- Module
std.lang
- Kind
- struct
- Module
std.lang
- Kind
- enum
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- enum
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- enum
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- enum
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- enum
- Module
std.lang
pub fn runtimeSafety(o: @This()) bool
Returns whether illegal behavior safety checks are enabled based on the provided optimization mode.
- Kind
- function
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- enum
- Module
std.lang
This namespace is used by the Zig compiler to emit various kinds of safety panics.
- Kind
- constant
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
- Kind
- enum
- Module
std.lang
- Kind
- enum
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- enum
- Module
std.lang
pub fn returnError() void
- Kind
- function
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- enum
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- enum
- Module
std.lang
This function type is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- union
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
pub fn sentinel(comptime arr: Array) ?arr.child
Loads the array type's sentinel value from `sentinel_ptr`.
- Kind
- function
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- enum
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- type
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
- Kind
- struct
- Module
std.lang
- Kind
- struct
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
pub fn sentinel(comptime ptr: Pointer) ?ptr.child
Loads the pointer type's sentinel value from `sentinel_ptr`.
- Kind
- function
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- enum
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- union
- Module
std.lang
- Kind
- struct
- Module
std.lang
- Kind
- type
- Module
std.lang
- Kind
- type
- Module
std.lang
- Kind
- enum
- Module
std.lang
- Kind
- enum
- Module
std.lang
- Kind
- union
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
- Kind
- struct
- Module
std.lang
pub fn defaultValue(comptime attrs: FieldAttributes, comptime FieldType: type) ?FieldType
Loads the field's default value from `default_value_ptr`. `FieldType` must exactly match the corresponding element of `Struct.field_types`.
- Kind
- function
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
- Kind
- struct
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
- Kind
- type
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- enum
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- type
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- struct
- Module
std.lang
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
- Kind
- enum
- Module
std.lang