mirror of
https://github.com/xazukx/ts-rs.git
synced 2026-11-19 22:40:25 +00:00
impl TS for Mutex, Weak
This commit is contained in:
@@ -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
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user