Zig 0.17.0-dev (Split by item)
This is an example of documentation generated by
ZigDoc , an alternative to Zig's built-in
Auto Doc feature. See also
examples in other modes/formats . The project being documented here (as the example) is the Zig library itself.
Zig › compiler/ › translate-c/ › Scope.zig › ContainerMemberFnsHashMap
ContainerMemberFnsHashMap
Scope.ContainerMemberFnsHashMap
pub const ContainerMemberFnsHashMap = std .array_hash_map .Custom (
aro .QualType ,
ContainerMemberFns ,
struct
File
Code
pub const ContainerMemberFnsHashMap = std .array_hash_map .Custom (
aro .QualType ,
ContainerMemberFns ,
struct {
pub fn hash (self : @This (), key : aro .QualType ) u32 {
const auto_hash = std .array_hash_map .getAutoHashFn (aro .QualType , @This ());
return auto_hash (self , key .unqualified ());
}
pub fn eql (self : @This (), a : aro .QualType , b : aro .QualType , b_index : usize ) bool {
const auto_eql = std .array_hash_map .getAutoEqlFn (aro .QualType , @This ());
return auto_eql (self , a .unqualified (), b .unqualified (), b_index );
}
},
false ,
)