MCPcopy Create free account

hub / github.com/PacktPublishing/Mastering-Rust / functions

Functions238 in github.com/PacktPublishing/Mastering-Rust

↓ 64 callersFunctionnew
()
Chapter12/arena-web/src/main.rs:69
↓ 14 callersMethodinto
(self)
Chapter04/into-impl.rs:14
↓ 5 callersMethodadd
(self, rhs: Money<T>)
Chapter04/std-trait-impls.rs:11
↓ 5 callersFunctionprint_slice
(slice: &[T])
Chapter04/array-slicing.rs:5
↓ 4 callersMethodappend
(&self, data: T)
Chapter06/rc-1.rs:19
↓ 3 callersMethodappend
(&mut self, data: T)
Chapter06/rc-2.rs:21
↓ 3 callersMethodappend
(&mut self, data: T)
Chapter06/rc-3.rs:22
↓ 3 callersFunctionestablish_connection
()
Chapter13/diesel-test/src/lib.rs:18
↓ 2 callersFunctionbytestring_to_string
(str: Vec<u8>)
Chapter05/mapping.rs:10
↓ 2 callersFunctionbytestring_to_string_with_match
(str: Vec<u8>)
Chapter05/try.rs:3
↓ 2 callersFunctionbytestring_to_string_with_match
(str: Vec<u8>)
Chapter05/mapping.rs:3
↓ 2 callersFunctionbytestring_to_string_with_qmark
(str: Vec<u8>)
Chapter05/try.rs:19
↓ 2 callersFunctioncount_string
Chapter10/count-string.c:1
↓ 2 callersFunctionf2
()
Chapter05/panic.rs:9
↓ 2 callersMethodnew
()
Chapter10/ncurses-2.rs:20
↓ 2 callersFunctionsay_hello
(to_whom: &str)
Chapter04/passing-string-slices.rs:1
↓ 2 callersMethodsquare_root
(e=0.00000001)
Chapter10/ruru_test/sqr-with-ruby.rb:2
↓ 1 callersFunctionadd_data_to_person
(uuid: Uuid, person_data: &serde_json::Value)
Chapter13/diesel-test/src/main.rs:19
↓ 1 callersFunctionadd_one
(a: u8)
Chapter06/add-2.rs:1
↓ 1 callersMethodcolor_red
(&self)
Chapter10/ncurses-2.rs:42
↓ 1 callersFunctioncreate_person
(conn: &PgConnection, name: &'a str)
Chapter13/diesel-test/src/lib.rs:27
↓ 1 callersFunctioncreate_table
(conn: DbConnection)
Chapter13/postgres-r2d2-test/src/main.rs:23
↓ 1 callersMethoddeinit_screen
(&self)
Chapter10/ncurses-2.rs:39
↓ 1 callersMethoddisplay
(&self)
Chapter01/wordcounter.rs:21
↓ 1 callersFunctiondo_nothing
()
Chapter09/lint/src/main.rs:8
↓ 1 callersFunctiondo_nothing_fast
()
Chapter03/bench-test/src/lib.rs:12
↓ 1 callersFunctiondo_nothing_slowly
()
Chapter03/bench-test/src/lib.rs:7
↓ 1 callersMethodexclaim
(self)
Chapter06/meep.py:4
↓ 1 callersFunctionexpand_countable_fields
(ast: &syn::MacroInput)
Chapter09/countable/src/count_fields_plugin.rs:19
↓ 1 callersFunctionf1
Chapter06/stack-abuse.c:3
↓ 1 callersFunctionf1
()
Chapter06/stack-2.rs:1
↓ 1 callersFunctionf1
()
Chapter05/panic.rs:3
↓ 1 callersFunctionf2
(y: u8)
Chapter06/stack-1.rs:1
↓ 1 callersFunctionf3
()
Chapter05/panic.rs:13
↓ 1 callersFunctionfind_all_with_name
(needle: &str)
Chapter13/diesel-test/src/main.rs:28
↓ 1 callersFunctionfind_largest_offset
(update: &TGUpdate)
Chapter12/telegram-github-bot/src/main.rs:73
↓ 1 callersFunctionfunction_without_vars
()
Chapter07/closures-1.rs:5
↓ 1 callersFunctionget_a_borrowed_value
()
Chapter06/borrows-1.rs:1
↓ 1 callersMethodget_char
(&self)
Chapter10/ncurses-2.rs:31
↓ 1 callersFunctionget_github_image_url
(client: &Client, text: &str)
Chapter12/telegram-github-bot/src/main.rs:43
↓ 1 callersFunctionget_updates
(client: &Client, token: &str, next_offset: u64)
Chapter12/telegram-github-bot/src/main.rs:83
↓ 1 callersMethodincrement
(&mut self, word: &str)
Chapter01/wordcounter.rs:15
↓ 1 callersMethodinit_screen
(&self)
Chapter10/ncurses-2.rs:25
↓ 1 callersFunctioninsert_person
(conn: DbConnection)
Chapter13/postgres-r2d2-test/src/main.rs:32
↓ 1 callersMethodmove_and_get_char
(&self, y: usize, x: usize)
Chapter10/ncurses-2.rs:34
↓ 1 callersFunctionmultiply_and_store
(nums: Arc<Mutex<Vec<N>>>, num: N, multiplier: N)
Chapter14/broken-program-2/src/main.rs:6
↓ 1 callersFunctionmultiply_numbers_by
(nums: Vec<N>, multiplier: N, ret: Arc<Mutex<Vec<N>>>)
Chapter14/broken-program-2/src/main.rs:11
↓ 1 callersFunctionnew_person
(new_name: &str)
Chapter13/diesel-test/src/main.rs:12
↓ 1 callersFunctionprobablyMakeMeep
()
Chapter06/meep.py:7
↓ 1 callersMethodrefresh
(&self)
Chapter10/ncurses-2.rs:28
↓ 1 callersFunctionregister
(reg: &mut Registry)
Chapter09/compiler-plugin-stable/hello_plugin/src/lib.rs:15
↓ 1 callersFunctionreply_with_image
(client: &Client, token: &str, id: u64, image_url: &str)
Chapter12/telegram-github-bot/src/main.rs:59
↓ 1 callersFunctionreturn_the_answer
()
Chapter09/lint/src/main.rs:4
↓ 1 callersFunctionsafe_count_string
(str: &str)
Chapter10/count-string.rs:8
↓ 1 callersMethodset_the_number
(&mut self, new_number: &'a u8)
Chapter06/lifetime-structs.rs:9
↓ 1 callersFunctionsilly_loop
()
Chapter03/ignore-test.rs:1
↓ 1 callersFunctionsquareRoot
(s, e=0.00000001)
Chapter10/test-project/sqr.js:1
↓ 1 callersFunctionsum_inputs_and_outputs
()
Chapter03/mod-test.rs:6
↓ 1 callersFunctionsum_inputs_and_outputs
()
Chapter03/sum/src/lib.rs:6
↓ 1 callersFunctiontake_the_foo
(f: &Foo)
Chapter06/functions-with-borrows-2.rs:9
↓ 1 callersFunctiontake_the_n
(n: &mut u8)
Chapter06/functions-with-borrows-2.rs:1
↓ 1 callersFunctiontake_the_n
(n: u8)
Chapter06/functions.rs:1
↓ 1 callersFunctiontake_the_n
(n: &u8)
Chapter06/functions-with-borrows-1.rs:1
↓ 1 callersFunctiontake_the_s
(s: &String)
Chapter06/functions-with-borrows-2.rs:6
↓ 1 callersFunctiontake_the_s
(s: String)
Chapter06/functions.rs:5
↓ 1 callersFunctiontake_the_s
(s: &String)
Chapter06/functions-with-borrows-1.rs:5
Functionattack
(cookies: &Cookies, state: GameState, id: &str)
Chapter12/arena-web/src/main.rs:109
Functionbench_nothing_fast
(b: &mut Bencher)
Chapter03/bench-test/src/lib.rs:21
Functionbench_nothing_slowly
(b: &mut Bencher)
Chapter03/bench-test/src/lib.rs:16
Functionbytestring_to_string_with_try
(str: Vec<u8>)
Chapter05/try.rs:13
Methodcause
(&self)
Chapter05/custom-error-2.rs:59
Methodcheck_fn
(&mut self, cx: &EarlyContext, _: FnKind, fndecl: &FnDecl, span: Span, _: NodeId)
Chapter09/lint/src/lint_fn.rs:29
Functioncountable_fields
(input: TokenStream)
Chapter09/countable/src/count_fields_plugin.rs:10
Functionderive_foobar
(input: TokenStream)
Chapter09/macro11crate.rs:8
Methoddescription
(&self)
Chapter05/custom-error-2.rs:23
Methoddeserialize
(deserializer: D)
Chapter11/serde-custom/src/main.rs:66
Methoddrop
(&mut self)
Chapter06/drops.rs:6
Methoddrop
(&mut self)
Chapter10/ncurses-2.rs:48
Methodexpecting
(&self, formatter: &mut fmt::Formatter)
Chapter11/serde-custom/src/main.rs:43
Functionf1
(x: u8)
Chapter06/stack-1.rs:6
Methodfmt
(&self, f: &mut Formatter)
Chapter04/display-trait.rs:9
Methodfmt
(&self, f: &mut fmt::Formatter)
Chapter05/custom-error-2.rs:17
Methodfrom_request
(_: &'a Request<'r>)
Chapter12/arena-web/src/main.rs:50
Functiongame
(state: GameState, flash: Option<FlashMessage>)
Chapter12/arena-web/src/main.rs:96
Methodgenerate_empty
(size_x: usize, size_y: usize)
Chapter03/buist/src/main.rs:52
Methodget_lints
(&self)
Chapter09/lint/src/lint_fn.rs:23
Methodget_strength
(&self)
Chapter01/structmethods.rs:24
Methodget_the_number
(&self)
Chapter06/lifetime-structs.rs:6
Functionhello
(_: &mut ExtCtxt, sp: Span, _: &[TokenTree])
Chapter09/simplest-compiler-plugin.rs:11
Functionhello
(_: &mut ExtCtxt, sp: Span, _: &[TokenTree])
Chapter09/compiler-plugin/src/simplest_compiler_plugin.rs:11
Functionhello
(_: &'cx mut ExtCtxt, sp: Span, _: &[TokenTree])
Chapter09/compiler-plugin-stable/hello_plugin/src/lib.rs:9
Functionindex
(cookies: &Cookies)
Chapter12/arena-web/src/main.rs:61
Functioninitialize_sum_floats
()
Chapter10/ruru_test/src/lib.rs:33
Functionmain
()
Chapter04/passing-string-slices.rs:5
Functionmain
()
Chapter04/array-slicing.rs:9
Functionmain
()
Chapter04/std-trait-impls.rs:17
Functionmain
()
Chapter04/generic-struct.rs:7
Functionmain
()
Chapter04/trait-object.rs:16
Functionmain
()
Chapter04/fixed-array-example.rs:1
Functionmain
()
Chapter04/display-trait.rs:14
next →1–100 of 238, ranked by callers