impl TS for Mutex, Weak

This commit is contained in:
Moritz Bischof
2022-04-29 22:34:24 +02:00
parent 37769007ad
commit 358d38d48c
2 changed files with 10 additions and 2 deletions
+3
View File
@@ -84,6 +84,9 @@ When running `cargo test`, the TypeScript bindings will be exported to the file
- `uuid-impl`
Implement `TS` for types from uuid
- `bson-uuid-impl`
Implement `TS` for types from bson
- `bytes-impl`
Implement `TS` for types from bytes
+7 -2
View File
@@ -81,8 +81,11 @@
//! Implement `TS` for types from bigdecimal
//! - `uuid-impl`
//!
//! Implement `TS` for types from uuid
//! - `bytes-impl`
//! Implement `TS` for types from uuid
//! - `bson-uuid-impl`
//!
//! Implement `TS` for types from bson
//! - `bytes-impl`
//!
//! Implement `TS` for types from bytes
//! - `indexmap-impl`
@@ -518,6 +521,8 @@ impl_wrapper!(impl<T: TS> TS for std::rc::Rc<T>);
impl_wrapper!(impl<T: TS + ToOwned> TS for std::borrow::Cow<'static, T>);
impl_wrapper!(impl<T: TS> TS for std::cell::Cell<T>);
impl_wrapper!(impl<T: TS> TS for std::cell::RefCell<T>);
impl_wrapper!(impl<T: TS> TS for std::sync::Mutex<T>);
impl_wrapper!(impl<T: TS> TS for std::sync::Weak<T>);
impl_tuples!(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10);