MCPcopy Create free account

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

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

Methodnext
Here, we define the sequence using `.curr` and `.next`. The return type is `Option<T>`: When the `Iterator` is finished, `None` is returned. Otherwise
src/bin/trait_iter.rs:21
Functionnext_birthday
(current_age: Option<u8>)
src/bin/error_option_unwrap_question_mark.rs:4
Methodnoise
(&self)
src/bin/trait_dyn.rs:14
Methodnoise
(&self)
src/bin/trait.rs:48
Functionop
`op(x, y)` === `sqrt(ln(x / y))`
src/bin/std_result.rs:44
Methodorigin
This is an "associated function" because this function is associated with a particular type, that is, Point. Associated functions don't need to be ca
src/bin/fn_methods.rs:16
Functionparse_csv_document
(src: R)
src/bin/trait_impl_trait.rs:4
Methodperimeter
(&self)
src/bin/fn_methods.rs:45
Functionprint2
(result: Result<i32, ParseIntError>)
src/bin/error_result_result_map.rs:47
Functionred
These functions are only valid for types which implement these traits. The fact that the traits are empty is irrelevant.
src/bin/generics_bounds_testcase_empty.rs:16
Functionrestricted_function
()
src/bin/mod_visibility.rs:76
Functionreverse
Tuples can be used as function arguments and as return values
src/bin/primitives_tuples.rs:5
Methodrun
(&self, x: i32, y: i32)
src/bin/custom_types_enum.rs:66
Methodstringify
Return representation of the list as a (heap allocated) string
src/bin/custom_types_enum_testcase_linked_list.rs:46
Methodtalk
Traits can provide default method definitions.
src/bin/trait.rs:15
Methodtry_from
(value: i32)
src/bin/conversion_try_from_try_into.rs:13
Functionunused_function
()
src/bin/attribute_unused.rs:8
Methodvalue
(&self)
src/bin/generics_impl.rs:14
Methodwork_phone_area_code
Gets the area code of the phone number of the person's job, if it exists.
src/bin/error_option_unwrap_question_mark.rs:29
← previous501–519 of 519, ranked by callers