MCPcopy Create free account

hub / github.com/PacktPublishing/The-Complete-Rust-Programming-Reference-Guide / functions

Functions707 in github.com/PacktPublishing/The-Complete-Rust-Programming-Reference-Guide

↓ 1 callersFunctionget_a_borrowed_value
()
Chapter05/return_func_ref.rs:3
↓ 1 callersMethodget_child
(&self, key: KeyType)
Chapter15/src/btree.rs:134
↓ 1 callersMethodget_device
(&self, key: KeyType)
Chapter15/src/btree.rs:121
↓ 1 callersMethodget_level
(&self)
Chapter14/src/skip_list.rs:41
↓ 1 callersMethodget_node_index
(&self, node: KeyType)
Chapter15/src/graph.rs:65
↓ 1 callersFunctionget_nth
(items: &Vec<usize>, nth: usize)
Chapter06/using_map.rs:3
↓ 1 callersFunctionget_nth
(items: &Vec<usize>, nth: usize)
Chapter05/using_map.rs:3
↓ 1 callersFunctionget_saved_payment_mode
()
Chapter01/enum_methods.rs:30
↓ 1 callersFunctionget_str_literal
()
Chapter07/borrowed_strings.rs:3
↓ 1 callersFunctionget_value
(i: *const i32)
Chapter10/unsafe_function.rs:3
↓ 1 callersFunctiongreet
()
Chapter02/workspace_demo/my_crate/src/lib.rs:2
↓ 1 callersMethodgrow
(&mut self, min_cap: usize)
Chapter14/src/dynamic_array.rs:24
↓ 1 callersFunctionhalf_adder_input_output
()
Chapter03/logic_gates/tests/half_adder.rs:8
↓ 1 callersFunctionhandle_client
(stream: TcpStream)
Chapter12/rudis_sync/src/main.rs:21
↓ 1 callersFunctionhandle_get
(v: Vec<Value>)
Chapter12/rudis_sync/src/commands.rs:6
↓ 1 callersFunctionhandle_get
(v: Vec<Value>)
Chapter12/rudis_async/src/commands.rs:8
↓ 1 callersFunctionhandle_set
(v: Vec<Value>)
Chapter12/rudis_sync/src/commands.rs:20
↓ 1 callersFunctionhandle_set
(v: Vec<Value>)
Chapter12/rudis_async/src/commands.rs:19
↓ 1 callersFunctionhashcode
(bytes: &[u8])
Chapter16/src/lib.rs:27
↓ 1 callersFunctionincrease_by
(mut val: u32, how_much: u32)
Chapter01/function_mut.rs:3
↓ 1 callersMethodincrement
(word: &str)
Chapter01/exercise_word_counter.rs:19
↓ 1 callersFunctionincrement_item
(Container {mut items_count}: &mut Container)
Chapter07/destructure_func_param.rs:7
↓ 1 callersFunctioninit_env
()
Chapter13/linksnap/src/main.rs:14
↓ 1 callersMethodintersection
(self, other: TrieSet<K>)
Chapter16/src/set.rs:115
↓ 1 callersMethodis_valid
(&self, row: usize, col: usize)
Chapter21/src/nqueens.rs:37
↓ 1 callersMethoditer_level
(&self, level: usize)
Chapter14/src/skip_list.rs:108
↓ 1 callersFunctionlazy_adder
(a:u32, b: u32)
Chapter04/impl_trait_closure.rs:3
↓ 1 callersFunctionlinear_search
(haystack: &[T], needle: &T)
Chapter20/src/lib.rs:6
↓ 1 callersMethodlinks
(&self)
Chapter13/linksnap/src/links.rs:46
↓ 1 callersFunctionmalice
()
Chapter06/panic_unwinding.rs:15
↓ 1 callersFunctionmalice
()
Chapter05/panic_unwinding.rs:15
↓ 1 callersFunctionmin_index
(weights: &Vec<TentativeWeight>, nodes: &Vec<usize>)
Chapter15/src/graph.rs:40
↓ 1 callersFunctionnew_location_info
(name: &str)
Chapter16/src/lib.rs:51
↓ 1 callersFunctionparse_todos
(todo_str: &str)
Chapter06/todolist_parser/src/lib.rs:41
↓ 1 callersFunctionparse_todos
(todo_str: &str)
Chapter05/todolist_parser/src/lib.rs:41
↓ 1 callersFunctionpartition
( collection: &mut [T], low: usize, high: usize, )
Chapter19/src/lib.rs:86
↓ 1 callersMethodpay
(&self, amount: u64)
Chapter01/enum_methods.rs:21
↓ 1 callersFunctionpay_by_credit
(amt: u64)
Chapter01/enum_methods.rs:10
↓ 1 callersFunctionpay_by_debit
(amt: u64)
Chapter01/enum_methods.rs:13
↓ 1 callersFunctionpaypal_redirect
(amt: u64)
Chapter01/enum_methods.rs:16
↓ 1 callersMethodplace_queens_r
(&mut self, column: usize)
Chapter21/src/nqueens.rs:18
↓ 1 callersFunctionprocess_client_request
(decoded_msg: Value)
Chapter12/rudis_sync/src/commands.rs:38
↓ 1 callersFunctionput_into_inventory
(inventory: &mut Inventory, item: String, count: Option<u32>)
Chapter07/enum_struct_consts.rs:14
↓ 1 callersFunctionquick_sort_r
(collection: &mut [T], low: usize, high: usize)
Chapter19/src/lib.rs:116
↓ 1 callersFunctionread_header
(a: &[u8])
Chapter07/const_fn_file.rs:3
↓ 1 callersFunctionread_todos
(path: P)
Chapter06/todolist_parser/src/lib.rs:30
↓ 1 callersFunctionread_todos
(path: P)
Chapter05/todolist_parser/src/lib.rs:30
↓ 1 callersMethodremove_key
(&mut self, id: KeyType)
Chapter15/src/btree.rs:93
↓ 1 callersFunctionreq_status
()
Chapter01/match_expression.rs:3
↓ 1 callersMethodrm_link
(&mut self, id: LinkId)
Chapter13/linksnap/src/links.rs:42
↓ 1 callersFunctionsalt
(a: u32)
Chapter07/const_fn.rs:3
↓ 1 callersMethodset_friends
(&mut self, count: u8)
Chapter01/struct_methods.rs:22
↓ 1 callersMethodset_nodes
(&mut self, nodes: Vec<KeyType>)
Chapter15/src/graph.rs:77
↓ 1 callersMethodset_num
(&mut self, new_number: &'a u8)
Chapter05/lifetime_impls.rs:12
↓ 1 callersMethodshoot
(&self)
Chapter11/slog_demo/src/enemy.rs:26
↓ 1 callersFunctionshorten_url
(url: &str)
Chapter13/hyperurl/src/shortener.rs:8
↓ 1 callersFunctionshow_me
(val: impl Display)
Chapter04/impl_trait_syntax.rs:5
↓ 1 callersFunctionsilly_loop
()
Chapter03/ignored_test.rs:6
↓ 1 callersFunctionsilly_loop
()
Chapter03/silly_loop.rs:3
↓ 1 callersFunctionsilly_sub
(a: i32, b: i32)
Chapter01/loop_labels.rs:3
↓ 1 callersMethodsimulate
(&mut self)
Chapter11/slog_demo/src/main.rs:33
↓ 1 callersMethodsleep
(&self)
Chapter04/trait_composition.rs:14
↓ 1 callersFunctionstr_upper_concise
(str: Vec<u8>)
Chapter06/using_question_operator.rs:5
↓ 1 callersFunctionstr_upper_concise
(str: Vec<u8>)
Chapter05/using_question_operator.rs:5
↓ 1 callersFunctionstr_upper_match
(str: Vec<u8>)
Chapter06/result_common_pattern.rs:5
↓ 1 callersFunctionstr_upper_match
(str: Vec<u8>)
Chapter05/result_common_pattern.rs:5
↓ 1 callersFunctionsum_inputs_outputs
()
Chapter03/unit_test/src/lib.rs:10
↓ 1 callersMethodtake_item
(self)
Chapter05/ownership_methods.rs:10
↓ 1 callersFunctiontake_the_n
(n: u8)
Chapter05/ownership_functions_back.rs:3
↓ 1 callersFunctiontake_the_n
(n: u8)
Chapter05/ownership_functions.rs:3
↓ 1 callersFunctiontake_the_n
(n: &mut u8)
Chapter05/borrowing_functions.rs:3
↓ 1 callersFunctiontake_the_s
(s: String)
Chapter05/ownership_functions_back.rs:5
↓ 1 callersFunctiontake_the_s
(s: String)
Chapter05/ownership_functions.rs:5
↓ 1 callersFunctiontake_the_s
(s: &mut String)
Chapter05/borrowing_functions.rs:7
↓ 1 callersFunctionteardown
()
Chapter03/integration_test/tests/common.rs:7
↓ 1 callersMethoduncle
(&self, tree: BareTree)
Chapter15/src/red_black_tree.rs:334
↓ 1 callersMethodunion
(self, other: TrieSet<K>)
Chapter16/src/set.rs:108
↓ 1 callersMethodvalidate
(&self, node: &Tree, level: usize)
Chapter15/src/btree.rs:222
↓ 1 callersMethodvalidate
red-red violations, min black-height, max-black-height
Chapter15/src/red_black_tree.rs:123
↓ 1 callersMethodwalk_in_order
(&self, node: &Tree, callback: &impl Fn(&IoTDevice) -> ())
Chapter15/src/btree.rs:275
↓ 1 callersMethodwalk_in_order
(&self, node: &Tree, callback: &impl Fn(&IoTDevice) -> ())
Chapter15/src/red_black_tree.rs:387
↓ 1 callersMethodwalk_in_order
(&self, node: &Tree, callback: &impl Fn(&IoTDevice) -> ())
Chapter15/src/binary_search_tree.rs:78
↓ 1 callersMethodwalk_r
(&self, node: &Link, callback: &impl Fn(&IoTDevice) -> ())
Chapter15/src/trie.rs:83
↓ 1 callersMethodwalk_r
(&self, node: &Link<K>, value: &Vec<K>, callback: &impl Fn(&[K]) -> ())
Chapter16/src/set.rs:139
↓ 1 callersFunctionxor
Implements a boolean `xor` gate taking as input two bits and returning a bit as its output
Chapter03/logic_gates/src/lib.rs:18
Methodadd
(self, rhs: Complex<T>)
Chapter04/complex/src/lib.rs:21
Methodadd
(&mut self, device: IoTDevice)
Chapter15/src/btree.rs:157
Methodadd
(&mut self, device: IoTDevice)
Chapter15/src/red_black_tree.rs:67
Methodadd
(&mut self, device: IoTDevice)
Chapter15/src/binary_search_tree.rs:35
Methodadd
(&mut self, device: IoTDevice)
Chapter15/src/trie.rs:44
Functionadd_link
(req: HttpRequest<State>)
Chapter13/linksnap/src/route_handlers.rs:25
Functionadd_two
(a: u32, b: u32)
Chapter07/function_types.rs:3
Functionadler32_test
()
Chapter16/src/lib.rs:170
Methodappend
(&mut self, value: u64)
Chapter14/src/dynamic_array.rs:37
Methodappend
(&mut self, value: String)
Chapter14/src/doubly_linked_list.rs:39
Methodappend
(&mut self, value: String)
Chapter14/src/singly_linked_list.rs:33
Methodarea
(&self)
Chapter07/trait_constants.rs:13
Methodat
(&mut self, index: usize)
Chapter14/src/dynamic_array.rs:45
Functionbasic_test
()
Chapter03/first_unit_test.rs:3
Functionbench_10_knapsack
(b: &mut Bencher)
Chapter21/src/lib.rs:195
← previousnext →101–200 of 707, ranked by callers