struct StringContext [src]

Members

Source

pub const StringContext = struct { pub fn hash(self: @This(), s: []const u8) u32 { _ = self; return hashString(s); } pub fn eql(self: @This(), a: []const u8, b: []const u8, b_index: usize) bool { _ = self; _ = b_index; return eqlString(a, b); } }