Type Function AutoContext [src]

Prototype

pub fn AutoContext(comptime K: type) type

Parameters

K: type

Source

pub fn AutoContext(comptime K: type) type { return struct { pub const hash = getAutoHashFn(K, @This()); pub const eql = getAutoEqlFn(K, @This()); }; }