Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacktPublishing/Creative-Projects-for-Rust-Programmers
/ functions
Functions
478 in github.com/PacktPublishing/Creative-Projects-for-Rust-Programmers
⨍
Functions
478
◇
Types & classes
172
↓ 1 callers
Method
get_user_by_username
(&self, username: &str)
Chapter05/login/src/db_access.rs:37
↓ 1 callers
Method
get_user_by_username
(&self, username: &str)
Chapter05/yauth/src/db_access.rs:45
↓ 1 callers
Method
get_value
(&self, handle: usize)
Chapter08/calc_compiler/src/symbol_table.rs:38
↓ 1 callers
Method
get_value
(&self, handle: usize)
Chapter08/calc_interpreter/src/symbol_table.rs:38
↓ 1 callers
Function
input_command
()
Chapter08/calc_compiler/src/main.rs:118
↓ 1 callers
Function
input_command
()
Chapter08/calc_interpreter/src/main.rs:49
↓ 1 callers
Function
input_line
(buffer: &mut [u16])
Chapter09/word_machine_convert/src/main.rs:1
↓ 1 callers
Function
input_line
(buffer: &mut [u16])
Chapter09/word_machine_sieve/src/main.rs:1
↓ 1 callers
Function
input_line
(buffer: &mut [u8])
Chapter09/nom_byte_machine/src/emulator.rs:3
↓ 1 callers
Function
input_parsed_line
(buffer: &mut [Instruction])
Chapter09/nom_byte_machine/src/parsing_interpreter.rs:42
↓ 1 callers
Method
insert_person
(&mut self, mut person: Person)
Chapter04/auth/src/db_access.rs:80
↓ 1 callers
Method
insert_person
(&mut self, mut person: Person)
Chapter04/crud/src/db_access.rs:44
↓ 1 callers
Method
insert_person
(&mut self, mut person: Person)
Chapter05/yauth/src/db_access.rs:78
↓ 1 callers
Method
insert_symbol
(&mut self, identifier: &str)
Chapter08/calc_compiler/src/symbol_table.rs:12
↓ 1 callers
Method
insert_symbol
(&mut self, identifier: &str)
Chapter08/calc_analyzer/src/symbol_table.rs:12
↓ 1 callers
Method
insert_symbol
(&mut self, identifier: &str)
Chapter08/calc_interpreter/src/symbol_table.rs:12
↓ 1 callers
Function
mutex_init_wrapper
Chapter10/linux-fw/src/c_wrapper.c:20
↓ 1 callers
Function
mutex_lock_wrapper
Chapter10/linux-fw/src/c_wrapper.c:21
↓ 1 callers
Function
mutex_unlock_wrapper
Chapter10/linux-fw/src/c_wrapper.c:22
↓ 1 callers
Function
open_redis_store
(redis_config: &Redis)
Chapter02/transformer/src/main.rs:369
↓ 1 callers
Function
parse_program
(program: &[u8])
Chapter09/nom_byte_machine/src/parsing_interpreter.rs:3
↓ 1 callers
Function
parse_program
(input: &str)
Chapter08/calc_analyzer/src/parser.rs:47
↓ 1 callers
Function
parse_program
(input: &str)
Chapter08/calc_parser/src/parser.rs:47
↓ 1 callers
Function
parse_program
(input: &str)
Chapter08/calc_interpreter/src/parser.rs:47
↓ 1 callers
Function
populate_db
(conn: &Connection)
Chapter02/sqlite_example/src/main.rs:36
↓ 1 callers
Function
populate_db
(conn: &mut Client)
Chapter02/postgresql_example/src/main.rs:53
↓ 1 callers
Function
print_db
(conn: &Connection)
Chapter02/sqlite_example/src/main.rs:52
↓ 1 callers
Function
print_db
(conn: &mut Client)
Chapter02/postgresql_example/src/main.rs:69
↓ 1 callers
Function
print_row_count_in_postgresql_db
( conn: &mut postgres::Client, )
Chapter02/transformer/src/main.rs:423
↓ 1 callers
Function
print_row_count_in_sqlite_db
(conn: &rusqlite::Connection)
Chapter02/transformer/src/main.rs:396
↓ 1 callers
Function
process_file
(current_program_path: &str, source_path: &str)
Chapter08/calc_compiler/src/main.rs:18
↓ 1 callers
Function
process_file
(current_program_path: &str, source_path: &str)
Chapter08/calc_analyzer/src/main.rs:16
↓ 1 callers
Function
process_file
(current_program_path: &str, source_path: &str)
Chapter08/calc_parser/src/main.rs:14
↓ 1 callers
Function
read_file_contents
(filename: &str)
Chapter03/file_transfer/src/main.rs:45
↓ 1 callers
Function
read_json_file
(pathname: &str)
Chapter02/transformer/src/main.rs:81
↓ 1 callers
Function
read_xml_file
(pathname: &str, sales_and_products: &mut SalesAndProducts)
Chapter02/transformer/src/main.rs:85
↓ 1 callers
Function
recreate_postgresql_db
( postgresql_config: &Postgresql, )
Chapter02/transformer/src/main.rs:289
↓ 1 callers
Function
recreate_sqlite_db
(sqlite_config: &Sqlite)
Chapter02/transformer/src/main.rs:235
↓ 1 callers
Function
run_interpreter
()
Chapter08/calc_compiler/src/main.rs:79
↓ 1 callers
Function
run_interpreter
()
Chapter08/calc_interpreter/src/main.rs:10
↓ 1 callers
Function
spin_lock_init_wrapper
Chapter10/linux-fw/src/c_wrapper.c:16
↓ 1 callers
Function
spin_lock_wrapper
Chapter10/linux-fw/src/c_wrapper.c:17
↓ 1 callers
Function
spin_unlock_wrapper
Chapter10/linux-fw/src/c_wrapper.c:18
↓ 1 callers
Method
steer
(&mut self, side: f32)
Chapter07/gg_silent_slalom/src/main.rs:92
↓ 1 callers
Method
steer
(&mut self, side: f32)
Chapter07/gg_ski/src/main.rs:50
↓ 1 callers
Method
steer
(&mut self, side: f32)
Chapter07/gg_assets_slalom/src/main.rs:116
↓ 1 callers
Function
translate_instruction_to_c
( file: &mut File, instruction: Instruction, ip: &mut usize, )
Chapter09/nom_byte_machine/src/translator.rs:53
↓ 1 callers
Function
translate_program_to_c
(program: &[u8], target_path: &str)
Chapter09/nom_byte_machine/src/translator.rs:5
↓ 1 callers
Function
translate_to_rust_expr
(variables: &SymbolTable, analyzed_expr: &AnalyzedExpr)
Chapter08/calc_compiler/src/compiler.rs:34
↓ 1 callers
Function
translate_to_rust_program
( variables: &SymbolTable, analyzed_program: &AnalyzedProgram, )
Chapter08/calc_compiler/src/compiler.rs:75
↓ 1 callers
Function
translate_to_rust_statement
( variables: &SymbolTable, analyzed_statement: &AnalyzedStatement, )
Chapter08/calc_compiler/src/compiler.rs:51
↓ 1 callers
Method
update_person
(&mut self, person: Person)
Chapter04/auth/src/db_access.rs:91
↓ 1 callers
Method
update_person
(&mut self, person: Person)
Chapter04/crud/src/db_access.rs:55
↓ 1 callers
Method
update_person
(&mut self, person: Person)
Chapter05/yauth/src/db_access.rs:89
↓ 1 callers
Function
write_into_postgresql_db
( conn: &mut postgres::Client, sales_and_products: &SalesAndProducts, )
Chapter02/transformer/src/main.rs:340
↓ 1 callers
Function
write_into_redis_store
( conn: &mut redis::Connection, sales_and_products: &SalesAndProducts, )
Chapter02/transformer/src/main.rs:376
↓ 1 callers
Function
write_into_sqlite_db
( conn: &rusqlite::Connection, sales_and_products: &SalesAndProducts, )
Chapter02/transformer/src/main.rs:259
Function
__aeabi_unwind_cpp_pr0
()
Chapter10/linux-fw/src/lib.rs:25
Method
alloc
(&self, layout: Layout)
Chapter10/linux-fw/src/allocator.rs:9
Function
authenticate
(auth: BasicAuth, state: web::Data<Mutex<AppState>>)
Chapter05/persons_db/src/main.rs:45
Function
bug_helper
Chapter10/linux-fw/src/c_wrapper.c:33
Method
change
(&mut self, _props: Self::Properties)
Chapter05/incr/src/lib.rs:47
Method
change
(&mut self, _props: Self::Properties)
Chapter05/adder/src/lib.rs:52
Method
change
(&mut self, _props: Self::Properties)
Chapter05/login/src/lib.rs:56
Method
change
(&mut self, props: Self::Properties)
Chapter05/login/src/login.rs:78
Method
change
(&mut self, props: Self::Properties)
Chapter05/yclient/src/persons_list.rs:221
Method
change
(&mut self, _props: Self::Properties)
Chapter05/yclient/src/lib.rs:68
Method
change
(&mut self, props: Self::Properties)
Chapter05/yclient/src/one_person.rs:129
Method
change
(&mut self, props: Self::Properties)
Chapter05/yclient/src/login.rs:118
Method
change
(&mut self, props: Self::Properties)
Chapter05/yauth/src/persons_list.rs:123
Method
change
(&mut self, _props: Self::Properties)
Chapter05/yauth/src/lib.rs:66
Method
change
(&mut self, props: Self::Properties)
Chapter05/yauth/src/one_person.rs:88
Method
change
(&mut self, props: Self::Properties)
Chapter05/yauth/src/login.rs:78
Function
cleanup_module
()
Chapter10/state/src/lib.rs:18
Function
cleanup_module
()
Chapter10/dots/src/lib.rs:53
Function
cleanup_module
()
Chapter10/allocating/src/lib.rs:34
Function
cleanup_module
()
Chapter10/boilerplate/src/lib.rs:13
Function
copy_to_user_wrapper
Chapter10/linux-fw/src/c_wrapper.c:12
Method
create
(_: Self::Properties, link: ComponentLink<Self>)
Chapter05/incr/src/lib.rs:19
Method
create
(_: Self::Properties, link: ComponentLink<Self>)
Chapter05/adder/src/lib.rs:23
Method
create
(_: Self::Properties, link: ComponentLink<Self>)
Chapter05/login/src/lib.rs:34
Method
create
(props: Self::Properties, link: ComponentLink<Self>)
Chapter05/login/src/login.rs:43
Method
create
(props: Self::Properties, link: ComponentLink<Self>)
Chapter05/yclient/src/persons_list.rs:63
Method
create
(_: Self::Properties, link: ComponentLink<Self>)
Chapter05/yclient/src/lib.rs:43
Method
create
(props: Self::Properties, link: ComponentLink<Self>)
Chapter05/yclient/src/one_person.rs:59
Method
create
(props: Self::Properties, link: ComponentLink<Self>)
Chapter05/yclient/src/login.rs:56
Method
create
(props: Self::Properties, link: ComponentLink<Self>)
Chapter05/yauth/src/persons_list.rs:51
Method
create
(_: Self::Properties, link: ComponentLink<Self>)
Chapter05/yauth/src/lib.rs:42
Method
create
(props: Self::Properties, link: ComponentLink<Self>)
Chapter05/yauth/src/one_person.rs:48
Method
create
(props: Self::Properties, link: ComponentLink<Self>)
Chapter05/yauth/src/login.rs:43
Method
dealloc
(&self, ptr: *mut u8, _layout: Layout)
Chapter10/linux-fw/src/allocator.rs:17
Method
default
()
Chapter05/login/src/login.rs:30
Method
default
()
Chapter05/yclient/src/persons_list.rs:49
Method
default
()
Chapter05/yclient/src/one_person.rs:43
Method
default
()
Chapter05/yclient/src/login.rs:37
Method
default
()
Chapter05/yauth/src/persons_list.rs:38
Method
default
()
Chapter05/yauth/src/one_person.rs:33
Method
default
()
Chapter05/yauth/src/login.rs:30
Function
delete_file
(info: Path<(String,)>)
Chapter03/file_transfer_stub/src/main.rs:26
Function
delete_file
(info: Path<(String,)>)
Chapter03/file_transfer/src/main.rs:22
← previous
next →
101–200 of 478, ranked by callers