Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ahgamut/rust-ape-example
/ functions
Functions
519 in github.com/ahgamut/rust-ape-example
⨍
Functions
519
◇
Types & classes
118
↓ 1 callers
Method
shear
(&mut self)
src/bin/trait.rs:25
↓ 1 callers
Function
some_number
()
src/bin/flow_control_match_binding.rs:24
↓ 1 callers
Method
source
(&self)
src/bin/error_multiple_error_types_wrap_error.rs:33
↓ 1 callers
Function
sqrt
(x: f64)
src/bin/std_result.rs:26
↓ 1 callers
Function
sqrt
(x: f64)
src/bin/std_result_question_mark.rs:22
↓ 1 callers
Method
to_centimeters
(&self)
src/bin/trait_derive.rs:13
↓ 1 callers
Method
translate
This method requires the caller object to be mutable `&mut self` desugars to `self: &mut Self`
src/bin/fn_methods.rs:54
↓ 1 callers
Function
used_function
()
src/bin/attribute_unused.rs:4
Method
add
add() returns a new `Length` struct containing the sum.
src/bin/generics_phantom_testcase_units.rs:25
Method
add
(self, _rhs: Bar)
src/bin/trait_ops.rs:21
Function
annotated_pass
(x: &'a i32)
src/bin/scope_lifetime_elision.rs:18
Function
apply_to_3
A function which takes a closure and returns an `i32`.
src/bin/fn_closures_input_parameters.rs:15
Function
area
`T` must implement `HasArea`. Any type which meets the bound can access `HasArea`'s function `area`.
src/bin/generics_bounds.rs:28
Method
area
This is a method `&self` is sugar for `self: &Self`, where `Self` is the type of the caller object. In this case `Self` = `Rectangle`
src/bin/fn_methods.rs:35
Function
blue
(_: &T)
src/bin/generics_bounds_testcase_empty.rs:17
Function
call
(number: &str)
src/bin/std_hash.rs:6
Function
choose_first
`<'a: 'b, 'b>` reads as lifetime `'a` is at least as long as `'b`. Here, we take in an `&'a i32` and return a `&'b i32` as a result of coercion.
src/bin/scope_lifetime_lifetime_coercion.rs:12
Function
combine_vecs_explicit_return_type
This function combines two `Vec<i32>` and returns an iterator over it. Look how complicated its return type is!
src/bin/trait_impl_trait.rs:38
Function
comp_sci_student_greeting
(student: &dyn CompSciStudent)
src/bin/trait_supertraits.rs:24
Method
contains
True if the numbers stored are equal.
src/bin/generics_assoc_items_the_problem.rs:16
Function
cookable_v1
To make a dish, we need both the recipe and the ingredients. We can represent the logic with a chain of `match`es:
src/bin/error_option_unwrap_and_then.rs:27
Method
default
()
src/bin/scope_lifetime_trait.rs:12
Function
difference
`C` contains `A` and `B`. In light of that, having to express `A` and `B` again is a nuisance.
src/bin/generics_assoc_items_the_problem.rs:29
Function
difference
(container: &C)
src/bin/generics_assoc_items_types.rs:36
Function
double_first
(vec: Vec<&str>)
src/bin/error_multiple_error_types_option_result.rs:6
Function
double_first
(vec: Vec<&str>)
src/bin/error_multiple_error_types.rs:4
Method
drop
(&mut self)
src/bin/trait_drop.rs:10
Method
drop
(&mut self)
src/bin/scope_raii.rs:36
Function
elided_pass
Similarly, `elided_pass` and `annotated_pass` have identical signatures because the lifetime is added implicitly to `elided_pass`:
src/bin/scope_lifetime_elision.rs:16
Method
fmt
(&self, f: &mut fmt::Formatter)
src/bin/error_multiple_error_types_reenter_question_mark.rs:14
Method
fmt
(&self, f: &mut fmt::Formatter)
src/bin/error_multiple_error_types_wrap_error.rs:20
Method
fmt
(&self, f: &mut fmt::Formatter)
src/bin/error_multiple_error_types_define_error_type.rs:20
Method
fmt
(&self, f: &mut fmt::Formatter)
src/bin/conversion_string.rs:11
Method
fmt
(&self, f: &mut fmt::Formatter)
src/bin/hello_print_print_display.rs:13
Method
fmt
`f` is a buffer, and this method must write the formatted string into it
src/bin/hello_print_fmt.rs:16
Method
fmt
(&self, f: &mut fmt::Formatter)
src/bin/hello_print_print_display_testcase_list.rs:10
Method
fmt
(&self, f: &mut fmt::Formatter)
src/bin/error_multiple_error_types_boxing_errors.rs:14
Method
from
(err: ParseIntError)
src/bin/error_multiple_error_types_wrap_error.rs:48
Method
from
(item: i32)
src/bin/conversion_from_into.rs:12
Function
function
Increment via closures and functions.
src/bin/fn_closures.rs:6
Function
function
Define a wrapper function satisfying the `Fn` bound
src/bin/fn_closures_input_functions.rs:11
Function
is_big
(n: i32)
src/bin/custom_types_constants.rs:8
Function
main
()
src/bin/flow_control_match_destructuring_destructure_tuple.rs:22
Function
main
()
src/bin/mod_visibility.rs:125
Function
main
()
src/bin/scope_lifetime_explicit.rs:38
Function
main
()
src/bin/trait_drop.rs:45
Function
main
()
src/bin/generics_phantom_testcase_units.rs:53
Function
main
()
src/bin/trait_clone.rs:47
Function
main
()
src/bin/custom_types_enum_c_like.rs:30
Function
main
()
src/bin/fn_closures_closure_examples_iter_find.rs:43
Function
main
()
src/bin/trait_ops.rs:46
Function
main
()
src/bin/mod_struct_visibility.rs:48
Function
main
()
src/bin/trait_supertraits.rs:36
Function
main
()
src/bin/generics_where.rs:27
Function
main
()
src/bin/error_result_result_map.rs:64
Function
main
()
src/bin/scope_borrow_alias.rs:54
Function
main
()
src/bin/std_hash_alt_key_types.rs:60
Function
main
()
src/bin/mod_super.rs:54
Function
main
()
src/bin/fn_closures.rs:31
Function
main
()
src/bin/error_multiple_error_types_reenter_question_mark.rs:46
Function
main
()
src/bin/std_misc_threads.rs:25
Function
main
()
src/bin/error_multiple_error_types_wrap_error.rs:84
Function
main
()
src/bin/error_multiple_error_types_define_error_type.rs:54
Function
main
()
src/bin/fn.rs:42
Function
main
()
src/bin/conversion_from_into.rs:29
Function
main
()
src/bin/error_result_enter_question_mark.rs:25
Function
main
()
src/bin/expression.rs:41
Function
main
()
src/bin/std_vec.rs:55
Function
main
()
src/bin/macros_variadics.rs:28
Function
main
()
src/bin/conversion_string.rs:29
Function
main
()
src/bin/hello_print_print_debug.rs:45
Function
main
()
src/bin/variable_bindings_scope.rs:42
Function
main
()
src/bin/macros_dsl.rs:23
Function
main
()
src/bin/flow_control_match_guard.rs:34
Function
main
()
src/bin/attribute_unused.rs:17
Function
main
()
src/bin/meta_playground.rs:8
Function
main
()
src/bin/error_option_unwrap_and_then.rs:57
Function
main
()
src/bin/scope_lifetime_static_lifetime.rs:20
Function
main
()
src/bin/hello_print_print_display.rs:59
Function
main
()
src/bin/hello_print_fmt.rs:53
Function
main
()
src/bin/fn_closures_output_parameters.rs:32
Function
main
()
src/bin/std_misc_arg_matching.rs:70
Function
main
()
src/bin/flow_control_match_destructuring_destructure_structures.rs:27
Function
main
()
src/bin/scope_move.rs:47
Function
main
()
src/bin/flow_control_match_destructuring_destructure_pointers.rs:55
Function
main
()
src/bin/hello_comment.rs:35
Function
main
()
src/bin/attribute_cfg_custom.rs:13
Function
main
()
src/bin/generics.rs:32
Function
main
()
src/bin/fn_closures_input_functions.rs:23
Function
main
()
src/bin/std_result.rs:63
Function
main
()
src/bin/std_arc.rs:27
Function
main
()
src/bin/macros_overload.rs:29
Function
main
()
src/bin/variable_bindings.rs:25
Function
main
()
src/bin/flow_control_for.rs:75
Function
main
()
src/bin/hello_print_print_display_testcase_list.rs:36
Function
main
()
src/bin/fn_closures_closure_examples_iter_any.rs:30
Function
main
()
src/bin/macros_repeat.rs:21
Function
main
()
src/bin/error_option_unwrap_defaults.rs:82
Function
main
()
src/bin/scope_lifetime_lifetime_bounds.rs:35
Function
main
()
src/bin/std_panic.rs:27
← previous
next →
301–400 of 519, ranked by callers