MCPcopy Create free account

hub / github.com/ahgamut/rust-ape-example / functions

Functions519 in github.com/ahgamut/rust-ape-example

↓ 1 callersFunctionpart0
()
src/bin/scope_lifetime_methods.rs:14
↓ 1 callersFunctionpart0
()
src/bin/macros_designators.rs:33
↓ 1 callersFunctionpart0
()
src/bin/custom_types_enum_testcase_linked_list.rs:60
↓ 1 callersFunctionpart0
()
src/bin/attribute_cfg.rs:16
↓ 1 callersFunctionpart0
()
src/bin/trait_iter.rs:38
↓ 1 callersFunctionpart0
()
src/bin/flow_control_match_binding.rs:9
↓ 1 callersFunctionpart0
()
src/bin/flow_control_match_destructuring_destructure_slice.rs:4
↓ 1 callersFunctionpart0
()
src/bin/variable_bindings_freeze.rs:4
↓ 1 callersFunctionpart0
()
src/bin/std_box.rs:30
↓ 1 callersFunctionpart0
()
src/bin/generics_gen_fn.rs:29
↓ 1 callersFunctionpart0
()
src/bin/flow_control_match.rs:4
↓ 1 callersFunctionpart0
()
src/bin/types_inference.rs:4
↓ 1 callersFunctionpart0
()
src/bin/fn_methods.rs:79
↓ 1 callersFunctionpart0
()
src/bin/primitives_tuples.rs:16
↓ 1 callersFunctionpart0
()
src/bin/std_rc.rs:6
↓ 1 callersFunctionpart0
()
src/bin/scope_borrow_mut.rs:24
↓ 1 callersFunctionpart0
()
src/bin/generics_assoc_items_the_problem.rs:34
↓ 1 callersFunctionpart0
()
src/bin/generics_multi_bounds.rs:16
↓ 1 callersFunctionpart0
()
src/bin/generics_bounds.rs:30
↓ 1 callersFunctionpart0
()
src/bin/error_panic.rs:11
↓ 1 callersFunctionpart0
()
src/bin/flow_control_loop.rs:4
↓ 1 callersFunctionpart0
()
src/bin/error_result_result_alias.rs:24
↓ 1 callersFunctionpart0
()
src/bin/scope_lifetime_elision.rs:20
↓ 1 callersFunctionpart0
()
src/bin/flow_control_loop_return.rs:4
↓ 1 callersFunctionpart0
()
src/bin/error_option_unwrap.rs:25
↓ 1 callersFunctionpart0
()
src/bin/scope_lifetime_fn.rs:32
↓ 1 callersFunctionpart0
This is the main function
src/bin/hello.rs:12
↓ 1 callersFunctionpart0
()
src/bin/fn_closures_input_parameters.rs:22
↓ 1 callersFunctionpart0
Lifetimes are annotated below with lines denoting the creation and destruction of each variable. `i` has the longest lifetime because its scope entire
src/bin/scope_lifetime.rs:9
↓ 1 callersFunctionpart0
()
src/bin/custom_types_structs.rs:33
↓ 1 callersFunctionpart0
()
src/bin/variable_bindings_declare.rs:4
↓ 1 callersFunctionpart0
()
src/bin/std_str.rs:4
↓ 1 callersFunctionpart0
()
src/bin/scope_move_mut.rs:4
↓ 1 callersFunctionpart0
()
src/bin/error_multiple_error_types.rs:9
↓ 1 callersFunctionpart0
()
src/bin/primitives_literals.rs:4
↓ 1 callersFunctionpart0
()
src/bin/generics_phantom.rs:17
↓ 1 callersFunctionpart0
()
src/bin/scope_move_partial_move.rs:4
↓ 1 callersFunctionpart0
()
src/bin/scope_raii.rs:12
↓ 1 callersFunctionpart0
()
src/bin/generics_bounds_testcase_empty.rs:19
↓ 1 callersFunctionpart0
()
src/bin/scope_lifetime_lifetime_coercion.rs:16
↓ 1 callersFunctionpart0
()
src/bin/fn_hof.rs:8
↓ 1 callersFunctionpart0
()
src/bin/unsafe.rs:4
↓ 1 callersFunctionpart0
()
src/bin/custom_types_enum_enum_use.rs:17
↓ 1 callersFunctionpart0
()
src/bin/std_option.rs:26
↓ 1 callersFunctionpart0
()
src/bin/generics_assoc_items_types.rs:40
↓ 1 callersFunctionpart0
()
src/bin/std_hash_hashset.rs:6
↓ 1 callersFunctionpart0
()
src/bin/variable_bindings_mut.rs:4
↓ 1 callersFunctionpart0
()
src/bin/scope_lifetime_struct.rs:23
↓ 1 callersFunctionpart0
()
src/bin/std_result_question_mark.rs:64
↓ 1 callersFunctionpart1
()
src/bin/fn_closures_closure_examples_iter_find.rs:29
↓ 1 callersFunctionpart1
()
src/bin/error_result_result_map.rs:54
↓ 1 callersFunctionpart1
()
src/bin/conversion_from_into.rs:22
↓ 1 callersFunctionpart1
()
src/bin/expression.rs:10
↓ 1 callersFunctionpart1
()
src/bin/conversion_string.rs:21
↓ 1 callersFunctionpart1
()
src/bin/hello_print_print_debug.rs:36
↓ 1 callersFunctionpart1
()
src/bin/variable_bindings_scope.rs:24
↓ 1 callersFunctionpart1
()
src/bin/flow_control_match_guard.rs:23
↓ 1 callersFunctionpart1
()
src/bin/flow_control_for.rs:19
↓ 1 callersFunctionpart1
()
src/bin/error_option_unwrap_defaults.rs:24
↓ 1 callersFunctionpart1
()
src/bin/custom_types_enum.rs:59
↓ 1 callersFunctionpart1
()
src/bin/error_result.rs:21
↓ 1 callersFunctionpart1
()
src/bin/error_abort_unwind.rs:31
↓ 1 callersFunctionpart1
()
src/bin/error_multiple_error_types_option_result.rs:26
↓ 1 callersFunctionpart1
()
src/bin/trait_impl_trait.rs:72
↓ 1 callersFunctionpart1
()
src/bin/flow_control_if_let.rs:46
↓ 1 callersFunctionpart1
()
src/bin/error_iter_result.rs:13
↓ 1 callersFunctionpart1
()
src/bin/fn_closures_capture.rs:73
↓ 1 callersFunctionpart1
()
src/bin/flow_control_match_binding.rs:28
↓ 1 callersFunctionpart1
()
src/bin/std_str.rs:45
↓ 1 callersFunctionpart1
()
src/bin/scope_raii.rs:41
↓ 1 callersFunctionpart1
()
src/bin/unsafe.rs:14
↓ 1 callersFunctionpart2
()
src/bin/expression.rs:20
↓ 1 callersFunctionpart2
()
src/bin/flow_control_for.rs:34
↓ 1 callersFunctionpart2
()
src/bin/error_option_unwrap_defaults.rs:45
↓ 1 callersFunctionpart2
()
src/bin/trait_impl_trait.rs:84
↓ 1 callersFunctionpart2
()
src/bin/flow_control_if_let.rs:79
↓ 1 callersFunctionpart2
()
src/bin/error_iter_result.rs:22
↓ 1 callersFunctionpart3
()
src/bin/flow_control_for.rs:48
↓ 1 callersFunctionpart3
()
src/bin/error_option_unwrap_defaults.rs:58
↓ 1 callersFunctionpart3
()
src/bin/error_iter_result.rs:34
↓ 1 callersFunctionpart4
()
src/bin/flow_control_for.rs:62
↓ 1 callersFunctionpart4
()
src/bin/error_iter_result.rs:43
↓ 1 callersFunctionpart5
()
src/bin/error_iter_result.rs:53
↓ 1 callersFunctionpass_x
Returning references that have been passed in is acceptable. However, the correct lifetime must be returned.
src/bin/scope_lifetime_fn.rs:24
↓ 1 callersFunctionprint
A generic function which prints using the `Debug` trait.
src/bin/scope_lifetime_lifetime_bounds.rs:14
↓ 1 callersMethodprint
(&'a self)
src/bin/scope_lifetime_methods.rs:9
↓ 1 callersFunctionprint_debug
The generic `T` must implement `Debug`. Regardless of the type, this will work properly.
src/bin/generics_bounds.rs:22
↓ 1 callersMethodprint_in_option
We want `Option<T>: Debug` as our bound because that is what's being printed. Doing otherwise would be using the wrong bound.
src/bin/generics_where.rs:16
↓ 1 callersFunctionprint_it
( input: impl Debug + 'static )
src/bin/scope_lifetime_static_lifetime.rs:6
↓ 1 callersFunctionprint_multi
Multiple elements with different lifetimes. In this case, it would be fine for both to have the same lifetime `'a`, but in more complex cases, differe
src/bin/scope_lifetime_fn.rs:18
↓ 1 callersFunctionprint_ref
Here a reference to `T` is taken where `T` implements `Debug` and all *references* in `T` outlive `'a`. In addition, `'a` must outlive the function.
src/bin/scope_lifetime_lifetime_bounds.rs:22
↓ 1 callersFunctionprint_refs
`print_refs` takes two references to `i32` which have different lifetimes `'a` and `'b`. These two lifetimes must both be at least as long as the func
src/bin/scope_lifetime_explicit.rs:7
↓ 1 callersFunctionprivate_function
Items in modules default to private visibility.
src/bin/mod_visibility.rs:7
↓ 1 callersFunctionprocess
A function to peel, chop, and cook food all in sequence. We chain multiple uses of `map()` to simplify the code.
src/bin/error_option_unwrap_map.rs:37
↓ 1 callersFunctionpublic_function_in_crate
pub(crate) makes functions visible only within the current crate
src/bin/mod_visibility.rs:62
↓ 1 callersFunctionpublic_function_in_my_mod
Functions declared using `pub(in path)` syntax are only visible within the given path. `path` must be a parent or ancestor module
src/bin/mod_visibility.rs:36
↓ 1 callersFunctionpublic_function_in_nested
Functions declared using `pub(self)` syntax are only visible within the current module, which is the same as leaving them private
src/bin/mod_visibility.rs:43
↓ 1 callersFunctionpublic_function_in_super_mod
Functions declared using `pub(super)` syntax are only visible within the parent module
src/bin/mod_visibility.rs:49
↓ 1 callersFunctionrandom_animal
Returns some struct that implements Animal, but we don't know which one at compile time.
src/bin/trait_dyn.rs:27
↓ 1 callersFunctionreg_fn
Define a function `reg_fn` that takes an argument `_s` of type `S`. This has no `<T>` so this is not a generic function.
src/bin/generics_gen_fn.rs:13
← previousnext →201–300 of 519, ranked by callers