mirror of
https://gitee.com/openharmony/third_party_rust_cxx
synced 2024-11-24 07:40:19 +00:00
c03402aee5
This adds support for passing C-style enums between Rust and C++. We use the Rust representation for enums suggested by dtolnay in #132. Note that as this does not use real enums, Rust code cannot treat them as normal enums, e.g., by converting them to integers. But common uses such as pattern matching remain unchanged. |
||
---|---|---|
.. | ||
atom.rs | ||
attrs.rs | ||
check.rs | ||
doc.rs | ||
error.rs | ||
ident.rs | ||
impls.rs | ||
mangle.rs | ||
mod.rs | ||
namespace.rs | ||
parse.rs | ||
set.rs | ||
symbol.rs | ||
tokens.rs | ||
types.rs |