Searched refs:EnumRepr (Results 1 – 6 of 6) sorted by relevance
/third_party/rust/crates/cxx/syntax/ |
D | tokens.rs | 3 Array, Atom, Derive, Enum, EnumRepr, ExternFn, ExternType, Impl, Lifetimes, NamedType, Ptr, 292 impl ToTokens for EnumRepr { implementation 295 EnumRepr::Native { atom, repr_type: _ } => atom.to_tokens(tokens), in to_tokens() 297 EnumRepr::Foreign { rust_type } => rust_type.to_tokens(tokens), in to_tokens()
|
D | types.rs | 10 toposort, Api, Atom, Enum, EnumRepr, ExternType, Impl, Lifetimes, Pair, Struct, Type, TypeAlias, 92 EnumRepr::Native { atom: _, repr_type } => { in collect() 96 EnumRepr::Foreign { rust_type: _ } => {} in collect()
|
D | mod.rs | 122 pub repr: EnumRepr, 126 pub enum EnumRepr { enum
|
D | parse.rs | 8 attrs, error, Api, Array, Derive, Doc, Enum, EnumRepr, ExternFn, ExternType, ForeignName, Impl, 253 let repr = EnumRepr::Native { in parse_enum()
|
/third_party/rust/crates/cxx/macro/src/ |
D | load.rs | 6 use crate::syntax::{Api, Discriminant, Doc, Enum, EnumRepr, ForeignName, Pair, Variant}; 152 enm.repr = EnumRepr::Foreign { rust_type: repr }; in traverse()
|
/third_party/rust/crates/cxx/gen/src/ |
D | write.rs | 12 derive, mangle, Api, Doc, Enum, EnumRepr, ExternFn, ExternType, Pair, Signature, Struct, Trait, 335 EnumRepr::Foreign { .. } => return, in write_enum_decl() 336 EnumRepr::Native { atom, .. } => *atom, in write_enum_decl() 395 EnumRepr::Foreign { .. } => return, in write_enum() 396 EnumRepr::Native { atom, .. } => *atom, in write_enum() 417 EnumRepr::Foreign { .. } => return, in check_enum() 418 EnumRepr::Native { atom, .. } => *atom, in check_enum()
|