| commit | 094db3ecea92f93463f7bea681a8fcb3c90bb5d2 | [log] [tgz] |
|---|---|---|
| author | David Tolnay <dtolnay@gmail.com> | Fri May 08 00:12:50 2020 -0700 |
| committer | David Tolnay <dtolnay@gmail.com> | Fri May 08 02:06:30 2020 -0700 |
| tree | a6c9d175664702e293b08ca0f6142279702f59ad | |
| parent | a62cca2268582a42c9895428f71df5310ad6ad2a [diff] [blame] |
Document ExternType trait
diff --git a/src/lib.rs b/src/lib.rs index 32d42a0..fc0e682 100644 --- a/src/lib.rs +++ b/src/lib.rs
@@ -389,7 +389,10 @@ pub use crate::exception::Exception; pub use crate::extern_type::ExternType; pub use crate::unique_ptr::UniquePtr; -pub use cxxbridge_macro::{bridge, type_id}; +pub use cxxbridge_macro::{bridge}; + +/// For use in impls of the `ExternType` trait. See [`ExternType`]. +pub use cxxbridge_macro::type_id; // Not public API. #[doc(hidden)]