Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacktPublishing/The-Complete-Rust-Programming-Reference-Guide
/ functions
Functions
707 in github.com/PacktPublishing/The-Complete-Rust-Programming-Reference-Guide
⨍
Functions
707
◇
Types & classes
174
↓ 1 callers
Function
get_a_borrowed_value
()
Chapter05/return_func_ref.rs:3
↓ 1 callers
Method
get_child
(&self, key: KeyType)
Chapter15/src/btree.rs:134
↓ 1 callers
Method
get_device
(&self, key: KeyType)
Chapter15/src/btree.rs:121
↓ 1 callers
Method
get_level
(&self)
Chapter14/src/skip_list.rs:41
↓ 1 callers
Method
get_node_index
(&self, node: KeyType)
Chapter15/src/graph.rs:65
↓ 1 callers
Function
get_nth
(items: &Vec<usize>, nth: usize)
Chapter06/using_map.rs:3
↓ 1 callers
Function
get_nth
(items: &Vec<usize>, nth: usize)
Chapter05/using_map.rs:3
↓ 1 callers
Function
get_saved_payment_mode
()
Chapter01/enum_methods.rs:30
↓ 1 callers
Function
get_str_literal
()
Chapter07/borrowed_strings.rs:3
↓ 1 callers
Function
get_value
(i: *const i32)
Chapter10/unsafe_function.rs:3
↓ 1 callers
Function
greet
()
Chapter02/workspace_demo/my_crate/src/lib.rs:2
↓ 1 callers
Method
grow
(&mut self, min_cap: usize)
Chapter14/src/dynamic_array.rs:24
↓ 1 callers
Function
half_adder_input_output
()
Chapter03/logic_gates/tests/half_adder.rs:8
↓ 1 callers
Function
handle_client
(stream: TcpStream)
Chapter12/rudis_sync/src/main.rs:21
↓ 1 callers
Function
handle_get
(v: Vec<Value>)
Chapter12/rudis_sync/src/commands.rs:6
↓ 1 callers
Function
handle_get
(v: Vec<Value>)
Chapter12/rudis_async/src/commands.rs:8
↓ 1 callers
Function
handle_set
(v: Vec<Value>)
Chapter12/rudis_sync/src/commands.rs:20
↓ 1 callers
Function
handle_set
(v: Vec<Value>)
Chapter12/rudis_async/src/commands.rs:19
↓ 1 callers
Function
hashcode
(bytes: &[u8])
Chapter16/src/lib.rs:27
↓ 1 callers
Function
increase_by
(mut val: u32, how_much: u32)
Chapter01/function_mut.rs:3
↓ 1 callers
Method
increment
(word: &str)
Chapter01/exercise_word_counter.rs:19
↓ 1 callers
Function
increment_item
(Container {mut items_count}: &mut Container)
Chapter07/destructure_func_param.rs:7
↓ 1 callers
Function
init_env
()
Chapter13/linksnap/src/main.rs:14
↓ 1 callers
Method
intersection
(self, other: TrieSet<K>)
Chapter16/src/set.rs:115
↓ 1 callers
Method
is_valid
(&self, row: usize, col: usize)
Chapter21/src/nqueens.rs:37
↓ 1 callers
Method
iter_level
(&self, level: usize)
Chapter14/src/skip_list.rs:108
↓ 1 callers
Function
lazy_adder
(a:u32, b: u32)
Chapter04/impl_trait_closure.rs:3
↓ 1 callers
Function
linear_search
(haystack: &[T], needle: &T)
Chapter20/src/lib.rs:6
↓ 1 callers
Method
links
(&self)
Chapter13/linksnap/src/links.rs:46
↓ 1 callers
Function
malice
()
Chapter06/panic_unwinding.rs:15
↓ 1 callers
Function
malice
()
Chapter05/panic_unwinding.rs:15
↓ 1 callers
Function
min_index
(weights: &Vec<TentativeWeight>, nodes: &Vec<usize>)
Chapter15/src/graph.rs:40
↓ 1 callers
Function
new_location_info
(name: &str)
Chapter16/src/lib.rs:51
↓ 1 callers
Function
parse_todos
(todo_str: &str)
Chapter06/todolist_parser/src/lib.rs:41
↓ 1 callers
Function
parse_todos
(todo_str: &str)
Chapter05/todolist_parser/src/lib.rs:41
↓ 1 callers
Function
partition
( collection: &mut [T], low: usize, high: usize, )
Chapter19/src/lib.rs:86
↓ 1 callers
Method
pay
(&self, amount: u64)
Chapter01/enum_methods.rs:21
↓ 1 callers
Function
pay_by_credit
(amt: u64)
Chapter01/enum_methods.rs:10
↓ 1 callers
Function
pay_by_debit
(amt: u64)
Chapter01/enum_methods.rs:13
↓ 1 callers
Function
paypal_redirect
(amt: u64)
Chapter01/enum_methods.rs:16
↓ 1 callers
Method
place_queens_r
(&mut self, column: usize)
Chapter21/src/nqueens.rs:18
↓ 1 callers
Function
process_client_request
(decoded_msg: Value)
Chapter12/rudis_sync/src/commands.rs:38
↓ 1 callers
Function
put_into_inventory
(inventory: &mut Inventory, item: String, count: Option<u32>)
Chapter07/enum_struct_consts.rs:14
↓ 1 callers
Function
quick_sort_r
(collection: &mut [T], low: usize, high: usize)
Chapter19/src/lib.rs:116
↓ 1 callers
Function
read_header
(a: &[u8])
Chapter07/const_fn_file.rs:3
↓ 1 callers
Function
read_todos
(path: P)
Chapter06/todolist_parser/src/lib.rs:30
↓ 1 callers
Function
read_todos
(path: P)
Chapter05/todolist_parser/src/lib.rs:30
↓ 1 callers
Method
remove_key
(&mut self, id: KeyType)
Chapter15/src/btree.rs:93
↓ 1 callers
Function
req_status
()
Chapter01/match_expression.rs:3
↓ 1 callers
Method
rm_link
(&mut self, id: LinkId)
Chapter13/linksnap/src/links.rs:42
↓ 1 callers
Function
salt
(a: u32)
Chapter07/const_fn.rs:3
↓ 1 callers
Method
set_friends
(&mut self, count: u8)
Chapter01/struct_methods.rs:22
↓ 1 callers
Method
set_nodes
(&mut self, nodes: Vec<KeyType>)
Chapter15/src/graph.rs:77
↓ 1 callers
Method
set_num
(&mut self, new_number: &'a u8)
Chapter05/lifetime_impls.rs:12
↓ 1 callers
Method
shoot
(&self)
Chapter11/slog_demo/src/enemy.rs:26
↓ 1 callers
Function
shorten_url
(url: &str)
Chapter13/hyperurl/src/shortener.rs:8
↓ 1 callers
Function
show_me
(val: impl Display)
Chapter04/impl_trait_syntax.rs:5
↓ 1 callers
Function
silly_loop
()
Chapter03/ignored_test.rs:6
↓ 1 callers
Function
silly_loop
()
Chapter03/silly_loop.rs:3
↓ 1 callers
Function
silly_sub
(a: i32, b: i32)
Chapter01/loop_labels.rs:3
↓ 1 callers
Method
simulate
(&mut self)
Chapter11/slog_demo/src/main.rs:33
↓ 1 callers
Method
sleep
(&self)
Chapter04/trait_composition.rs:14
↓ 1 callers
Function
str_upper_concise
(str: Vec<u8>)
Chapter06/using_question_operator.rs:5
↓ 1 callers
Function
str_upper_concise
(str: Vec<u8>)
Chapter05/using_question_operator.rs:5
↓ 1 callers
Function
str_upper_match
(str: Vec<u8>)
Chapter06/result_common_pattern.rs:5
↓ 1 callers
Function
str_upper_match
(str: Vec<u8>)
Chapter05/result_common_pattern.rs:5
↓ 1 callers
Function
sum_inputs_outputs
()
Chapter03/unit_test/src/lib.rs:10
↓ 1 callers
Method
take_item
(self)
Chapter05/ownership_methods.rs:10
↓ 1 callers
Function
take_the_n
(n: u8)
Chapter05/ownership_functions_back.rs:3
↓ 1 callers
Function
take_the_n
(n: u8)
Chapter05/ownership_functions.rs:3
↓ 1 callers
Function
take_the_n
(n: &mut u8)
Chapter05/borrowing_functions.rs:3
↓ 1 callers
Function
take_the_s
(s: String)
Chapter05/ownership_functions_back.rs:5
↓ 1 callers
Function
take_the_s
(s: String)
Chapter05/ownership_functions.rs:5
↓ 1 callers
Function
take_the_s
(s: &mut String)
Chapter05/borrowing_functions.rs:7
↓ 1 callers
Function
teardown
()
Chapter03/integration_test/tests/common.rs:7
↓ 1 callers
Method
uncle
(&self, tree: BareTree)
Chapter15/src/red_black_tree.rs:334
↓ 1 callers
Method
union
(self, other: TrieSet<K>)
Chapter16/src/set.rs:108
↓ 1 callers
Method
validate
(&self, node: &Tree, level: usize)
Chapter15/src/btree.rs:222
↓ 1 callers
Method
validate
red-red violations, min black-height, max-black-height
Chapter15/src/red_black_tree.rs:123
↓ 1 callers
Method
walk_in_order
(&self, node: &Tree, callback: &impl Fn(&IoTDevice) -> ())
Chapter15/src/btree.rs:275
↓ 1 callers
Method
walk_in_order
(&self, node: &Tree, callback: &impl Fn(&IoTDevice) -> ())
Chapter15/src/red_black_tree.rs:387
↓ 1 callers
Method
walk_in_order
(&self, node: &Tree, callback: &impl Fn(&IoTDevice) -> ())
Chapter15/src/binary_search_tree.rs:78
↓ 1 callers
Method
walk_r
(&self, node: &Link, callback: &impl Fn(&IoTDevice) -> ())
Chapter15/src/trie.rs:83
↓ 1 callers
Method
walk_r
(&self, node: &Link<K>, value: &Vec<K>, callback: &impl Fn(&[K]) -> ())
Chapter16/src/set.rs:139
↓ 1 callers
Function
xor
Implements a boolean `xor` gate taking as input two bits and returning a bit as its output
Chapter03/logic_gates/src/lib.rs:18
Method
add
(self, rhs: Complex<T>)
Chapter04/complex/src/lib.rs:21
Method
add
(&mut self, device: IoTDevice)
Chapter15/src/btree.rs:157
Method
add
(&mut self, device: IoTDevice)
Chapter15/src/red_black_tree.rs:67
Method
add
(&mut self, device: IoTDevice)
Chapter15/src/binary_search_tree.rs:35
Method
add
(&mut self, device: IoTDevice)
Chapter15/src/trie.rs:44
Function
add_link
(req: HttpRequest<State>)
Chapter13/linksnap/src/route_handlers.rs:25
Function
add_two
(a: u32, b: u32)
Chapter07/function_types.rs:3
Function
adler32_test
()
Chapter16/src/lib.rs:170
Method
append
(&mut self, value: u64)
Chapter14/src/dynamic_array.rs:37
Method
append
(&mut self, value: String)
Chapter14/src/doubly_linked_list.rs:39
Method
append
(&mut self, value: String)
Chapter14/src/singly_linked_list.rs:33
Method
area
(&self)
Chapter07/trait_constants.rs:13
Method
at
(&mut self, index: usize)
Chapter14/src/dynamic_array.rs:45
Function
basic_test
()
Chapter03/first_unit_test.rs:3
Function
bench_10_knapsack
(b: &mut Bencher)
Chapter21/src/lib.rs:195
← previous
next →
101–200 of 707, ranked by callers