pub inline fn value(T: type, x: T, weight: u64) Weight T: typex: Tweight: u64298
299
300 pub inline fn value(T: type, x: T, weight: u64) Weight {
return .{ .min = intFromValue(x), .max = intFromValue(x), .weight = weight };
}