MCPcopy Create free account

hub / github.com/bedroombuilds/python2rust / functions

Functions352 in github.com/bedroombuilds/python2rust

↓ 1 callersFunctionmonte_carlo_pi
(iterations)
15_pymod_in_rust/python/monte_carlo_pi.py:12
↓ 1 callersFunctionmultiply
docstring for function.
00_hello_world/python/syntax.py:4
↓ 1 callersFunctionmultiply
docstring for module docstring for function
00_hello_world/rust/syntax.rs:4
↓ 1 callersMethodname
(&self)
0b_traits/rust/supertraits.rs:48
↓ 1 callersFunctionnumber
(x)
06_pattern_matching/python/pattern_matching.py:21
↓ 1 callersFunctionnumber
(x: i32)
06_pattern_matching/rust/pattern_matching.rs:21
↓ 1 callersMethodopen
(path: impl AsRef<std::path::Path>)
0d_files/rust/bufread_lines.rs:25
↓ 1 callersFunctionotherstuff
()
12_modules/python/foo/other.py:1
↓ 1 callersMethodpickup
(self, what)
28_rusty_python/python/pattern_matching.py:9
↓ 1 callersFunctionproc_monte_carlo_pi
(num_cpus, iterations)
15_pymod_in_rust/python/monte_carlo_pi.py:39
↓ 1 callersFunctionquit_game
()
29_pattern_matching_revisited/python/cmd_split.py:4
↓ 1 callersFunctionread_stdin_line
()
23_websockets_client/python/ws_client.py:6
↓ 1 callersFunctionreverse
(pair: tuple)
03_tuples_arrays/python/tuples.py:4
↓ 1 callersFunctionrow_to_str_vec
silly way to convert row into Vec of Strings from postgres types see https://docs.rs/postgres/latest/postgres/types/trait.FromSql.html
21_postgresql/rust/pg_async/src/main.rs:16
↓ 1 callersFunctionrow_to_str_vec
silly way to convert row into Vec of Strings from postgres types see https://docs.rs/postgres/latest/postgres/types/trait.FromSql.html
21_postgresql/rust/pg_blocking/src/main.rs:16
↓ 1 callersFunctionrun
()
1a_logging/rust/logex/src/main.rs:8
↓ 1 callersFunctionscope
()
10_smart_pointers/python/rc.py:7
↓ 1 callersMethodsender
(self, sender: impl Into<String>)
2b_builder_type_state/rust/email_builder/src/main.rs:175
↓ 1 callersFunctionstdin_to_ws
(websocket)
23_websockets_client/python/ws_client.py:11
↓ 1 callersFunctionsubf
()
01_numbers/python/scope.py:8
↓ 1 callersFunctionsubscope
()
10_smart_pointers/python/rc.py:13
↓ 1 callersFunctionsum_as_string
(a: i64, b: i64)
15_pymod_in_rust/rust/py_monte_carlo_pi/src/lib.rs:15
↓ 1 callersMethodtake
(self, obj, room)
29_pattern_matching_revisited/python/cmd_split.py:31
↓ 1 callersMethodtake
(&mut self, obj: String, room: &mut Room)
29_pattern_matching_revisited/rust/pattern/src/main.rs:53
↓ 1 callersFunctionuser_connected
(ws: WebSocket, users: Users)
22_websockets_server/rust/warp_ws/src/main.rs:35
↓ 1 callersFunctionuser_disconnected
(my_id: usize, users: &Users)
22_websockets_server/rust/warp_ws/src/main.rs:87
↓ 1 callersFunctionuser_message
(my_id: usize, msg: Message, users: &Users)
22_websockets_server/rust/warp_ws/src/main.rs:68
↓ 1 callersMethodvalue
(self)
22_websockets_server/python/atomic.py:24
↓ 1 callersMethodwith
(self: &mut Self, f: F)
14_context_manager/rust/context_manager.rs:19
↓ 1 callersMethodwithdraw
(self, amount: int)
28_rusty_python/python/type_hinting.py:18
↓ 1 callersFunctionws_next
(websocket)
23_websockets_client/python/ws_client.py:19
Method__add__
(self, rh)
0b_traits/python/defaults.py:10
Method__del__
(self)
0b_traits/python/iterators.py:14
Method__enter__
(self)
14_context_manager/python/context_manager.py:7
Method__eq__
(self, rh)
0b_traits/python/defaults.py:13
Method__exit__
(self, exc_type, exc_value, exc_traceback)
14_context_manager/python/context_manager.py:11
Method__init__
(self)
0b_traits/python/iterators.py:2
Method__init__
(self, x, y, z=None)
0b_traits/python/defaults.py:2
Method__init__
(self, name)
0b_traits/python/super.py:13
Method__init__
(self, name)
0b_traits/python/super.py:27
Method__init__
(self, name)
0b_traits/python/super.py:35
Method__init__
(self, name)
0b_traits/python/super.py:48
Method__init__
(self)
22_websockets_server/python/fastapi_ws.py:10
Method__init__
Initialize a new atomic counter to given initial value
22_websockets_server/python/atomic.py:6
Method__init__
(self, uid, email, first_name, last_name)
2b_builder_type_state/python/typed_builder.py:6
Method__init__
(self, uid)
2b_builder_type_state/python/typed_builder.py:24
Method__init__
(self, email)
2b_builder_type_state/python/typed_builder.py:31
Method__init__
(self, uid, email)
2b_builder_type_state/python/typed_builder.py:38
Method__init__
(self, initial_balance: int = 0)
28_rusty_python/python/type_hinting.py:12
Method__init__
(self, filename, mode)
14_context_manager/python/context_manager.py:2
Method__init__
(self)
09_iterators/python/iterators.py:2
Method__init__
(self, x, y, z=None)
07_structs/python/defaults.py:2
Method__init__
(self, x, y)
07_structs/python/classes.py:2
Method__init__
(self, x)
07_structs/python/classes.py:10
Method__init__
(self, value)
10_smart_pointers/python/bintree.py:4
Method__init__
(self, uid, email, first_name=None, last_name=None)
2a_builder_pattern/python/default_args.py:4
Method__init__
(self)
2a_builder_pattern/python/default_args.py:24
Method__init__
(self, name, age, job, verified, parents)
1d_json/python/person.py:5
Method__init__
(self, name)
06_pattern_matching/python/pattern_matching.py:2
Method__init__
(self, age)
06_pattern_matching/python/pattern_matching.py:6
Method__init__
(self, xpos, ypos, width, height, label)
27_fltk/python/fltk_ex.py:48
Method__init__
(self, objs=None)
29_pattern_matching_revisited/python/cmd_split.py:8
Method__init__
(self)
29_pattern_matching_revisited/python/cmd_split.py:29
Method__iter__
(self)
0b_traits/python/iterators.py:5
Method__iter__
(self)
09_iterators/python/iterators.py:5
Method__new__
(self)
27_fltk/python/fltk_ex.py:8
Method__next__
(self)
0b_traits/python/iterators.py:8
Method__next__
(self)
09_iterators/python/iterators.py:8
Method__repr__
(self)
10_smart_pointers/python/bintree.py:10
Method__str__
(self)
0b_traits/python/defaults.py:7
Method__str__
(self)
2b_builder_type_state/python/typed_builder.py:12
Method__str__
(self)
07_structs/python/defaults.py:7
Method__str__
(self)
1d_json/python/person.py:12
Methodadd
(self, rhs: String)
0c_operator_overloading/rust/operator_overloading.rs:17
Methodadd1
(self)
27_fltk/python/fltk_ex.py:24
Methodadd2
(self)
27_fltk/python/fltk_ex.py:29
Methodarea
most efficient way to compute area
02_ecosystem/geo/src/lib.rs:29
Functionascii_capitalize
(s: &str)
04_strings_unicode/rust/uppercase.rs:11
Functionbar
()
12_modules/python/foo/__init__.py:4
Methodbuilder
()
2b_builder_type_state/rust/email_builder/src/main.rs:15
Methodbuilder
(id: impl Into<i32>, email: impl Into<String>)
2a_builder_pattern/rust/builder/src/main.rs:56
Functioncalling_next_directly
()
0b_traits/rust/iterators/src/lib.rs:35
Functioncalling_next_directly
()
09_iterators/rust/iterators/src/lib.rs:29
Functionchecked
in debug builds this will panic!
01_numbers/rust/cast.rs:32
Methodcircumference
most efficient way to compute perimeter
02_ecosystem/geo/src/lib.rs:37
Methodclosed
(self: &Self)
14_context_manager/rust/context_manager.rs:31
Functioncomp_sci
(student: &T)
0b_traits/rust/supertraits.rs:78
Functioncomp_sci_vs_programmer
(student: &T, programmer: &U)
0b_traits/rust/supertraits.rs:82
Methodcomplete
(&self)
2a_builder_pattern/rust/builder/src/main.rs:60
Methoddec
Atomically decrement the counter by num and return the new value
22_websockets_server/python/atomic.py:17
Methoddecode
(self, s)
1d_json/python/person.py:22
Methoddefault
()
07_structs/rust/defaults.rs:20
Methoddefault
(self, o)
1d_json/python/person.py:17
Methoddeposit
(self, amount: int)
28_rusty_python/python/type_hinting.py:15
Functiondo_something
(x: u32)
05_functions/rust/functions.rs:1
Methoddrop
(&mut self)
0b_traits/rust/iterators/src/lib.rs:25
Methodemail
(self, email)
2b_builder_type_state/python/typed_builder.py:27
Methodfav_language
(self)
0b_traits/python/super.py:43
Methodfav_language
(self)
0b_traits/python/super.py:54
Methodfav_language
(&self)
0b_traits/rust/supertraits.rs:29
← previousnext →101–200 of 352, ranked by callers