Searched defs:EnumDef (Results 1 – 5 of 5) sorted by relevance
/external/rust/android-crates-io/crates/diplomat_core/src/hir/ |
D | defs.rs | 77 pub struct EnumDef { struct 78 pub docs: Docs, 79 pub name: IdentBuf, 80 pub variants: Vec<EnumVariant>, 81 pub methods: Vec<Method>, 82 pub attrs: Attrs, 83 pub special_method_presence: SpecialMethodPresence, 171 impl EnumDef { impl
|
D | type_context.rs | 125 pub fn enums(&self) -> &[EnumDef] { in enums() 166 pub fn resolve_enum(&self, id: EnumId) -> &EnumDef { in resolve_enum()
|
D | paths.rs | 214 pub fn resolve<'tcx>(&self, tcx: &'tcx TypeContext) -> &'tcx EnumDef { in resolve()
|
D | lowering.rs | 165 ) -> Result<Vec<EnumDef>, ()> { in lower_all_enums() 193 fn lower_enum(&mut self, item: ItemAndInfo<'ast, ast::Enum>) -> Result<EnumDef, ()> { in lower_enum() argument
|
/external/flatbuffers/include/flatbuffers/ |
D | idl.h | 465 struct EnumDef : public Definition { struct 466 EnumDef() : is_union(false), uses_multiple_type_instances(false) {} in EnumDef() function 483 uint64_t Distance() const { return Distance(MinValue(), MaxValue()); } in Distance() 489 std::string ToString(const EnumVal &ev) const { in ToString() 494 size_t size() const { return vals.vec.size(); } in size() 496 const std::vector<EnumVal *> &Vals() const { return vals.vec; } in Vals() 498 const EnumVal *Lookup(const std::string &enum_name) const { in Lookup() 502 bool is_union; 505 bool uses_multiple_type_instances; 506 Type underlying_type; [all …]
|