-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtranspiles.json
More file actions
64 lines (58 loc) · 1.1 KB
/
transpiles.json
File metadata and controls
64 lines (58 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"primitives": {
"i8": "int",
"i16": "int",
"i32": "int",
"i64": "int",
"i128": "int",
"isize": "int",
"u8": "int",
"u16": "int",
"u32": "int",
"u64": "int",
"u128": "int",
"usize": "int",
"f32": "float",
"f64": "float",
"bool": "bool",
"char": "str",
"()": "None"
},
"strings": {
"String": "str",
"&str": "str",
"OsString": "str",
"PathBuf": "str",
"Cow<str>": "str"
},
"collections": {
"Vec<T>": "list[T]",
"VecDeque<T>": "collections.deque[T]",
"HashMap<K, V>": "dict[K, V]",
"BTreeMap<K, V>": "dict[K, V]",
"HashSet<T>": "set[T]",
"BTreeSet<T>": "set[T]"
},
"wrappers": {
"Option<T>": "T | None",
"Result<T, E>": "T",
"PyResult<T>": "T",
"Box<T>": "T",
"Arc<T>": "T",
"Rc<T>": "T",
"&T": "T",
"&mut T": "T"
},
"async": {
"Future<T>": "typing.Awaitable[T]"
},
"pyo3": {
"PyAny": "typing.Any",
"PyObject": "typing.Any",
"Py<PyAny>": "typing.Any",
"Python": "typing.Any"
},
"typing": {
"Vec<PyObject>": "list[typing.Any]"
}
}