Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chinanf-boy/exercism-rust-zh
/ functions
Functions
4,015 in github.com/chinanf-boy/exercism-rust-zh
⨍
Functions
4,015
◇
Types & classes
170
↓ 297 callers
Method
push
(&mut self, element: T)
exercises/simple-linked-list/example.rs:20
↓ 240 callers
Function
e
(e)
docs/ace.js:28
↓ 146 callers
Method
roll
(&mut self, pins: u16)
exercises/bowling/example.rs:106
↓ 101 callers
Method
len
(&self)
exercises/simple-linked-list/example.rs:16
↓ 88 callers
Function
o
(n)
docs/ace.js:28
↓ 84 callers
Method
add
(&mut self, element: T)
exercises/custom-set/example.rs:24
↓ 73 callers
Method
roll
(&mut self, pins: u16)
exercises/bowling/src/lib.rs:14
↓ 70 callers
Method
contains
(&self, other: &T)
exercises/custom-set/example.rs:30
↓ 61 callers
Function
parse
(pairs: Vec<(&'a str, &'a str)>)
exercises/nucleotide-codons/example.rs:7
↓ 60 callers
Method
remove
(&mut self, x: u8, y: u8)
exercises/dominoes/example.rs:42
↓ 46 callers
Method
create_compute
( &mut self, dependencies: &[CellID], compute_func: F, )
exercises/react/example.rs:93
↓ 44 callers
Method
create_input
(&mut self, initial: T)
exercises/react/example.rs:88
↓ 32 callers
Method
add_minutes
(&mut self, minutes: i32)
exercises/clock/example.rs:31
↓ 32 callers
Function
n
(e,t,n)
docs/ace.js:28
↓ 28 callers
Function
test
Test that the expected output is produced from the given input using the `winning_hands` function. Note that the output can be in any order. Here, we
src/poker/poker.rs:16
↓ 28 callers
Function
test
Test that the expected output is produced from the given input using the `winning_hands` function. Note that the output can be in any order. Here, we
docs/poker/poker.rs:16
↓ 28 callers
Function
test
Test that the expected output is produced from the given input using the `winning_hands` function. Note that the output can be in any order. Here, we
exercises/poker/tests/poker.rs:18
↓ 27 callers
Method
from
(s: u64)
exercises/space-age/example.rs:6
↓ 27 callers
Function
r
(e,t)
docs/ace.js:28
↓ 24 callers
Method
get
(&self, x: u8, y: u8)
exercises/dominoes/example.rs:21
↓ 24 callers
Method
pop
(&mut self)
exercises/simple-linked-list/example.rs:26
↓ 23 callers
Function
a
(e,t)
docs/ace.js:28
↓ 23 callers
Method
create_compute
Creates a compute cell with the specified dependencies and compute function. The compute function is expected to take in its arguments in the same ord
exercises/react/src/lib.rs:65
↓ 22 callers
Method
create_input
Creates an input cell with the specified initial value, returning its ID.
exercises/react/src/lib.rs:48
↓ 20 callers
Function
f
()
docs/ace.js:28
↓ 19 callers
Function
i
(e,t)
docs/ace.js:28
↓ 18 callers
Method
allergies
(&self)
exercises/allergies/example.rs:29
↓ 18 callers
Function
c
(e)
docs/ace.js:28
↓ 17 callers
Method
enumerate
(&self)
exercises/scale-generator/example.rs:346
↓ 17 callers
Method
next
(&mut self)
exercises/book-store/example.rs:104
↓ 17 callers
Function
t
(e,n,r)
docs/ace.js:28
↓ 16 callers
Method
add_minutes
(self, minutes: i32)
exercises/clock/src/lib.rs:12
↓ 16 callers
Method
name
(&'a self)
exercises/robot-name/example.rs:28
↓ 16 callers
Method
rev
(&self)
exercises/simple-linked-list/example.rs:46
↓ 15 callers
Method
advance
(self)
exercises/robot-simulator/src/lib.rs:27
↓ 15 callers
Method
cmp
we want to order groups first by qty contained DESC, then by lowest value ASC
exercises/book-store/example.rs:40
↓ 15 callers
Function
process_interval_case
Process a single test case for the property `interval` All cases for the `interval` property are implemented in terms of this function.
src/scale-generator/scale-generator.rs:21
↓ 15 callers
Function
process_interval_case
Process a single test case for the property `interval` All cases for the `interval` property are implemented in terms of this function.
docs/scale-generator/scale-generator.rs:21
↓ 15 callers
Function
process_interval_case
Process a single test case for the property `interval` All cases for the `interval` property are implemented in terms of this function.
exercises/scale-generator/tests/scale-generator.rs:24
↓ 14 callers
Method
add
(&mut self, grade: u32, student: &str)
exercises/grade-school/src/lib.rs:8
↓ 14 callers
Function
make_pairs
The input data constructor. Returns a list of codon, name pairs.
src/protein-translation/proteins.rs:110
↓ 14 callers
Function
make_pairs
The input data constructor. Returns a list of codon, name pairs.
docs/protein-translation/proteins.rs:110
↓ 14 callers
Function
make_pairs
The input data constructor. Returns a list of codon, name pairs.
exercises/protein-translation/tests/proteins.rs:112
↓ 14 callers
Function
parse
(pairs: Vec<(&'a str, &'a str)>)
exercises/protein-translation/src/lib.rs:24
↓ 14 callers
Function
process_total_case
Process a single test case for the property `total` All cases for the `total` property are implemented in terms of this function. Expected input for
src/book-store/book-store.rs:14
↓ 14 callers
Function
process_total_case
Process a single test case for the property `total` All cases for the `total` property are implemented in terms of this function. Expected input for
docs/book-store/book-store.rs:14
↓ 14 callers
Function
process_total_case
Process a single test case for the property `total` All cases for the `total` property are implemented in terms of this function. Expected input for
exercises/book-store/tests/book-store.rs:17
↓ 14 callers
Method
set
(&mut self, x: u8, y: u8, v: u8)
exercises/dominoes/example.rs:25
↓ 13 callers
Method
is_empty
(&self)
exercises/custom-set/example.rs:34
↓ 13 callers
Function
n
(e)
docs/highlight.js:2
↓ 13 callers
Function
process_anagram_case
(word: &str, inputs: &[&str], expected: &[&str])
src/anagram/anagram.rs:4
↓ 13 callers
Function
process_anagram_case
(word: &str, inputs: &[&str], expected: &[&str])
docs/anagram/anagram.rs:4
↓ 13 callers
Function
process_anagram_case
(word: &str, inputs: &[&str], expected: &[&str])
exercises/anagram/tests/anagram.rs:6
↓ 13 callers
Function
u
(e,t,n)
docs/ace.js:28
↓ 12 callers
Function
encode_random
(s: &str)
exercises/simple-cipher/example.rs:4
↓ 12 callers
Method
push
(&mut self, _element: T)
exercises/simple-linked-list/src/lib.rs:16
↓ 12 callers
Function
run_test
(test_case: &[&str])
src/minesweeper/minesweeper.rs:14
↓ 12 callers
Function
run_test
(test_case: &[&str])
docs/minesweeper/minesweeper.rs:14
↓ 12 callers
Function
run_test
(test_case: &[&str])
exercises/minesweeper/tests/minesweeper.rs:16
↓ 12 callers
Method
with_nodes
(mut self, nodes: &[Node])
exercises/dot-dsl/example.rs:22
↓ 11 callers
Function
b
(e)
docs/ace.js:28
↓ 11 callers
Function
e
(e,t)
docs/clipboard.min.js:7
↓ 11 callers
Function
make_pairs
The input data constructor. Returns a list of codon, name pairs.
src/nucleotide-codons/codons.rs:83
↓ 11 callers
Function
make_pairs
The input data constructor. Returns a list of codon, name pairs.
docs/nucleotide-codons/codons.rs:83
↓ 11 callers
Function
make_pairs
The input data constructor. Returns a list of codon, name pairs.
exercises/nucleotide-codons/tests/codons.rs:85
↓ 11 callers
Function
s
(e,r)
docs/ace.js:28
↓ 11 callers
Method
turn_left
(&self)
exercises/robot-simulator/example.rs:72
↓ 11 callers
Method
turn_right
(&self)
exercises/robot-simulator/example.rs:68
↓ 11 callers
Method
value
(&self)
exercises/poker/example.rs:99
↓ 10 callers
Function
h
(e)
docs/ace.js:28
↓ 10 callers
Function
test
(input: &str, output: &str)
src/crypto-square/crypto-square.rs:1
↓ 10 callers
Function
test
(input: &str, output: &str)
docs/crypto-square/crypto-square.rs:1
↓ 10 callers
Function
test
(input: &str, output: &str)
exercises/crypto-square/tests/crypto-square.rs:4
↓ 10 callers
Function
w
(e)
docs/ace.js:28
↓ 9 callers
Function
F
(e)
docs/ace.js:28
↓ 9 callers
Method
allergies
(&self)
exercises/allergies/src/lib.rs:30
↓ 9 callers
Function
compare_allergy_vectors
(expected: &[Allergen], actual: &[Allergen])
src/allergies/allergies.rs:1
↓ 9 callers
Function
compare_allergy_vectors
(expected: &[Allergen], actual: &[Allergen])
docs/allergies/allergies.rs:1
↓ 9 callers
Function
compare_allergy_vectors
(expected: &[Allergen], actual: &[Allergen])
exercises/allergies/tests/allergies.rs:5
↓ 9 callers
Method
push
(&mut self, value: Value)
exercises/forth/example.rs:129
↓ 9 callers
Function
r
(e,t,n)
docs/clipboard.min.js:7
↓ 9 callers
Method
sum
(&self)
exercises/queen-attack/example.rs:65
↓ 9 callers
Function
t
(e)
docs/highlight.js:2
↓ 9 callers
Function
t
(e,t)
docs/mark.min.js:7
↓ 9 callers
Method
with_attrs
(mut self, attrs: &[(&'static str, &'static str)])
exercises/dot-dsl/example.rs:34
↓ 8 callers
Function
assert_in_delta
(expected: f64, actual: f64)
src/space-age/space-age.rs:1
↓ 8 callers
Function
assert_in_delta
(expected: f64, actual: f64)
docs/space-age/space-age.rs:1
↓ 8 callers
Function
assert_in_delta
(expected: f64, actual: f64)
exercises/space-age/tests/space-age.rs:5
↓ 8 callers
Method
expect_to_have_been_called_with
(&self, v: i32)
src/react/react.rs:131
↓ 8 callers
Method
expect_to_have_been_called_with
(&self, v: i32)
docs/react/react.rs:131
↓ 8 callers
Method
expect_to_have_been_called_with
(&self, v: i32)
exercises/react/tests/react.rs:135
↓ 8 callers
Function
get_palindrome_products
(min: u64, max: u64)
exercises/palindrome-products/example.rs:2
↓ 8 callers
Method
name
(&self)
exercises/robot-name/src/lib.rs:8
↓ 8 callers
Function
secret
(p: u64, b_pub: u64, a: u64)
exercises/diffie-hellman/example.rs:36
↓ 7 callers
Function
l
()
docs/ace.js:28
↓ 7 callers
Method
partial_cmp
(&self, other: &Rank)
exercises/poker/example.rs:133
↓ 7 callers
Function
process_reverse_case
Tests for reverse-string Generated by [script][script] using [canonical data][canonical-data] [script]: https://github.com/exercism/rust/blob/master
src/reverse-string/reverse-string.rs:9
↓ 7 callers
Function
process_reverse_case
Tests for reverse-string Generated by [script][script] using [canonical data][canonical-data] [script]: https://github.com/exercism/rust/blob/master
docs/reverse-string/reverse-string.rs:9
↓ 7 callers
Function
process_reverse_case
Process a single test case for the property `reverse`
exercises/reverse-string/tests/reverse-string.rs:12
↓ 6 callers
Function
add_game_result
(results: &mut HashMap<String, TeamResult>, team: String, result: GameResult)
exercises/tournament/example.rs:86
next →
1–100 of 4,015, ranked by callers