tiny.simd.TargetFunction
Defined in target.
Source
Source: lib/simd/src/target.zig:285
zig
pub fn Function(comptime Fn: type) type { switch (@typeInfo(Fn)) { .pointer => |pointer| if (@typeInfo(pointer.child) != .@"fn") { @compileError("target functions require a function pointer type"); }, else => @compileError("target functions require a function pointer type"), } return struct { target: Target, implementation: Fn, };}Source: lib/simd/src/root.zig:74
zig
pub const TargetFunction = target.Function;Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |