MCPcopy Create free account

hub / github.com/CleanCut/ultimate_rust_crash_course / functions

Functions37 in github.com/CleanCut/ultimate_rust_crash_course

↓ 4 callersFunctionprint_usage_and_exit
()
exercise/z_final_project/src/main.rs:87
↓ 3 callersFunctiongreet
()
examples/hello/src/lib.rs:5
↓ 1 callersFunctionblur
(infile: String, outfile: String)
exercise/z_final_project/src/main.rs:97
↓ 1 callersFunctioncat
()
exercise/c_modules/src/main.rs:32
↓ 1 callersFunctiondog
()
exercise/c_modules/src/main.rs:28
↓ 1 callersFunctionfox
()
exercise/c_modules/src/main.rs:36
↓ 1 callersFunctionfractal
This code was adapted from https://github.com/PistonDevelopers/image
exercise/z_final_project/src/main.rs:178
↓ 1 callersFunctioninspect_integer
(x: i32)
exercise/b_functions/src/main.rs:50
Functionbrighten
(infile: String, outfile: String)
exercise/z_final_project/src/main.rs:108
Functionconvert_to_integer
Challenge: A "tail expression" is when the last expression in a block does not end with a semicolon, making it the value of the block. - Refactor the
exercise/b_functions/src/main.rs:60
Functioncrop
(infile: String, outfile: String)
exercise/z_final_project/src/main.rs:118
Functiondescribe_three_hats
A function used by some provided code.
exercise/i_traits/src/main.rs:72
Functionding
(x: i32)
exercise/d_simple_types/src/main.rs:74
Functiondo_math
(x: i32)
exercise/k_enums/src/main.rs:119
Functiongenerate
(outfile: String)
exercise/z_final_project/src/main.rs:162
Functiongrayscale
(infile: String, outfile: String)
exercise/z_final_project/src/main.rs:154
Functiongreet
()
examples/hello/src/spanish.rs:1
Functiongreet
()
examples/hello/src/russian.rs:3
Functioninvert
(infile: String, outfile: String)
exercise/z_final_project/src/main.rs:145
Functionis_even
You can use this function to check if a number is even (true) or odd (false). You should comment out this function for #3.
exercise/i_traits/src/main.rs:87
Functionmain
()
exercise/j_collections/src/main.rs:1
Functionmain
()
exercise/z_final_project/src/main.rs:28
Functionmain
()
exercise/g_ownership_references/src/main.rs:4
Functionmain
()
exercise/h_structs/src/main.rs:29
Functionmain
()
exercise/f_strings/src/main.rs:13
Functionmain
()
exercise/c_modules/src/main.rs:40
Functionmain
()
exercise/i_traits/src/main.rs:27
Functionmain
()
exercise/k_enums/src/main.rs:4
Functionmain
()
exercise/e_control_flow/src/main.rs:4
Functionmain
()
exercise/d_simple_types/src/main.rs:4
Functionmain
()
exercise/b_functions/src/main.rs:4
Functionmain
()
examples/hello/src/main.rs:3
Functionon_off
(val: bool)
exercise/d_simple_types/src/main.rs:80
Functionprint_array
(a: [f64; 2])
exercise/d_simple_types/src/main.rs:70
Functionprint_difference
(x: f64, y: f64)
exercise/d_simple_types/src/main.rs:66
Functionprint_distance
5. (Part B) Using `z.0` and `z.1` is not nearly as nice as using `x` and `y`. Lucky for us, Rust supports destructuring function arguments. Try rep
exercise/d_simple_types/src/main.rs:49
Functionrotate
(infile: String, outfile: String)
exercise/z_final_project/src/main.rs:130