Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/diegopacheco/rust-playground
/ functions
Functions
801 in github.com/diegopacheco/rust-playground
⨍
Functions
801
◇
Types & classes
202
↓ 58 callers
Method
push
(&mut self, item: T)
ring-buffer/src/ringbuffer.rs:16
↓ 50 callers
Method
insert
(&mut self, data: &str)
dynamic-data-structure-box/src/main.rs:24
↓ 42 callers
Method
get
(&self, offset: usize)
pointer-arithmetic-fun/src/UsingLibC.rs:40
↓ 39 callers
Method
len
(&self)
ring-buffer/src/ringbuffer.rs:27
↓ 38 callers
Method
into
(self)
into-trait-fun/src/main.rs:9
↓ 26 callers
Method
execute
(&self, callback: F)
thread-pool-fun/src/main.rs:28
↓ 23 callers
Method
next
(&self)
tui-fun/src/event/mod.rs:83
↓ 22 callers
Function
execute
()
basic_lang/src/vars.rs:1
↓ 15 callers
Method
add
(self, other:Self)
Add-trait-fun/src/main.rs:22
↓ 15 callers
Method
push
(&mut self, elem: T)
linked-lists-oh-boy/src/linkedlist.rs:18
↓ 15 callers
Method
run
(&self, events: &[Box<dyn Event>])
in-memory-stock-engine/src/engine.rs:32
↓ 14 callers
Method
as_str
(&self)
twoway-fun/src/main.rs:9
↓ 14 callers
Method
build
(mut self)
builder-pattern-rust/src/main.rs:50
↓ 14 callers
Function
run
()
rust-crash-course/src/ex_http.rs:3
↓ 13 callers
Method
title
(&self)
iced-fun/src/main.rs:25
↓ 10 callers
Function
connect
()
rust-microservice/news-dao/src/lib.rs:9
↓ 10 callers
Method
peek
(&self)
linked-lists-oh-boy/src/linkedlist.rs:34
↓ 9 callers
Method
into_iter
(self)
linked-lists-oh-boy/src/linkedlist.rs:59
↓ 9 callers
Method
set
(&mut self, offset: usize, value: f64)
pointer-arithmetic-fun/src/UsingLibC.rs:27
↓ 8 callers
Function
benchmark_cap
(amount_events: usize, amount_rules: usize)
in-memory-stock-engine/src/main.rs:32
↓ 7 callers
Method
recv
(&mut self, _ctx: &Context<String>, msg: String, _sender: Sender)
riker-fun/src/main.rs:11
↓ 7 callers
Method
run
Start the application.
abscissa_cool_app/src/commands/start.rs:26
↓ 6 callers
Function
check_access
( authorizer: &Authorizer, policies: &PolicySet, entities: &Entities, user: &str, action:
cedar-policy-fun/src/main.rs:42
↓ 6 callers
Function
eat_whitespace
(chars: &mut std::iter::Peekable<I>)
json-parser-nolibs/src/main.rs:16
↓ 6 callers
Method
len
(&self)
twoway-fun/src/main.rs:8
↓ 5 callers
Function
benchmark
(amount: usize)
in-memory-stock-engine/src/main.rs:28
↓ 5 callers
Function
read_to_string
(p: &str)
rust-crash-course/src/ex_error_handling.rs:4
↓ 4 callers
Method
create
(_: Self::Properties, link: ComponentLink<Self>)
yew-app/src/main.rs:16
↓ 4 callers
Function
insert
(fruit: &str)
crossbeam-fun/src/global/main.rs:9
↓ 4 callers
Function
main_mod
()
conversions-fun/src/as_ref.rs:9
↓ 4 callers
Method
name
(&self)
traits-fun/src/supers.rs:25
↓ 4 callers
Method
next_prime
(&mut self)
prime-generator/src/prime.rs:91
↓ 4 callers
Method
pop
(&mut self)
linked-lists-oh-boy/src/linkedlist.rs:27
↓ 4 callers
Function
print_me
(value: &T)
generic-functions/src/main.rs:1
↓ 4 callers
Method
process
(&mut self,line: &str)
rust-cli-traits/src/main.rs:20
↓ 4 callers
Method
render
(&mut self, _: &mut Window, _: &mut Context<Self>)
gpui_fun/src/main.rs:109
↓ 3 callers
Method
generate_first_name
(&self)
synthetic-data-gen/src/main.rs:97
↓ 3 callers
Method
generate_last_name
(&self)
synthetic-data-gen/src/main.rs:102
↓ 3 callers
Method
next
(self)
state-machine-enum-fun/src/main.rs:12
↓ 3 callers
Function
parse_value
( chars: &mut std::iter::Peekable<I>, )
json-parser-nolibs/src/main.rs:26
↓ 3 callers
Function
print
(str: &str)
result-fun/src/main.rs:10
↓ 3 callers
Function
print_capacity
(boxa:&boxing_arena::BoxingArena<&str>)
boxing-arena-fun/src/main.rs:21
↓ 3 callers
Function
printme
(value:i32)
refcell-fun/src/main.rs:12
↓ 3 callers
Function
proc
(iof:IntOrFloat)
basic_lang/src/union_dt.rs:15
↓ 3 callers
Method
run
(&self,pg_client:&mut Client)
rust-microservice/news-migrations/src/migrations/mod.rs:20
↓ 3 callers
Function
slice_patterns_1
(words: &[&str])
subslice_patterns_fun/src/main.rs:14
↓ 3 callers
Function
slice_patterns_2
(words: &[&str])
subslice_patterns_fun/src/main.rs:23
↓ 3 callers
Method
symbol
()
in-memory-stock-engine/src/generators.rs:21
↓ 3 callers
Method
value
()
in-memory-stock-engine/src/generators.rs:16
↓ 2 callers
Method
alloc
(&mut self, value: T)
arena-allocator/src/main.rs:18
↓ 2 callers
Function
by_ref
(x: &i32)
values-by-reference/src/main.rs:1
↓ 2 callers
Function
check_status
(s:Status)
basic_lang/src/enumfun.rs:33
↓ 2 callers
Function
check_work
(w:Work)
basic_lang/src/enumfun.rs:26
↓ 2 callers
Method
cmd
(&mut self, name: &str, callback: F)
rust-cli-traits/src/main.rs:15
↓ 2 callers
Function
compute
()
arrow-datafusion-fun/src/sql.rs:5
↓ 2 callers
Function
compute
()
pointer-arithmetic-fun/src/UsingLibC.rs:63
↓ 2 callers
Method
config
Accessor for application configuration.
abscissa_cool_app/src/application.rs:65
↓ 2 callers
Method
context
Create an error context from this error
abscissa_cool_app/src/error.rs:25
↓ 2 callers
Function
cpu_work
(seed: u64)
dial9-fun/src/main.rs:86
↓ 2 callers
Method
create
(&self, specs: Vec<String>)
mock_mockit_fun/src/main.rs:32
↓ 2 callers
Method
create
(&self)
in-memory-stock-engine/src/generators.rs:42
↓ 2 callers
Function
err
(s: T)
rust-cli-traits/src/main.rs:50
↓ 2 callers
Function
factorial
(n: u32)
const-function-and-eval/src/main.rs:1
↓ 2 callers
Method
generate
(&self, amount: usize)
in-memory-stock-engine/src/generators.rs:34
↓ 2 callers
Method
generate_dob
(&self)
synthetic-data-gen/src/main.rs:122
↓ 2 callers
Method
generate_email
(&self, first_name: Option<&str>, last_name: Option<&str>)
synthetic-data-gen/src/main.rs:107
↓ 2 callers
Method
generate_record
(&self, fields: &[String])
synthetic-data-gen/src/main.rs:147
↓ 2 callers
Method
generate_ssn
(&self)
synthetic-data-gen/src/main.rs:139
↓ 2 callers
Function
get_by_space_from_str
(words: &str)
sets-collections-fun/src/main.rs:26
↓ 2 callers
Method
get_primes
(&self)
prime-generator/src/prime.rs:102
↓ 2 callers
Function
greet
(message: String)
cargo-lib-simple-fun/greet/src/lib.rs:5
↓ 2 callers
Function
greet_str
(message: &str)
cargo-lib-simple-fun/greet/src/lib.rs:1
↓ 2 callers
Method
hello
(String input)
jni-fun/src/HelloWorld.java:2
↓ 2 callers
Method
log
(&mut self, byte: u8)
stlog_fun/src/main.rs:14
↓ 2 callers
Function
long_running_future
(a: u32)
futures_cpupool_fun/src/main.rs:7
↓ 2 callers
Method
new
()
gpui_fun/src/main.rs:55
↓ 2 callers
Method
next
(&'a mut self)
file-processing-struct/src/main.rs:27
↓ 2 callers
Function
ok
(s: T)
rust-cli-traits/src/main.rs:46
↓ 2 callers
Function
parse_string
( chars: &mut std::iter::Peekable<I>, )
json-parser-nolibs/src/main.rs:101
↓ 2 callers
Function
print_rc_cell
(s:Rc<RefCell<String>>)
rc-cell-fun/src/main.rs:31
↓ 2 callers
Function
print_string
(s:String)
borrower-ownership-simple-samples/src/main.rs:22
↓ 2 callers
Function
printme
(v:&i32)
once_cell_fun/src/main.rs:13
↓ 2 callers
Function
reverse
(xs: &[T])
test_quickcheck/src/main.rs:9
↓ 2 callers
Function
run_simulation
(fern:&mut Fern,days:usize)
rust-lib/fern-lib/src/lib.rs:12
↓ 2 callers
Method
set_left
(&mut self, node: Node)
dynamic-data-structure-box/src/main.rs:18
↓ 2 callers
Method
set_right
(&mut self, node: Node)
dynamic-data-structure-box/src/main.rs:21
↓ 2 callers
Function
show
()
crossbeam-fun/src/global/main.rs:15
↓ 2 callers
Function
slice_patterns_3
(words: &[&str])
subslice_patterns_fun/src/main.rs:31
↓ 2 callers
Function
start
()
sauron-fun/src/lib.rs:77
↓ 2 callers
Method
state
Borrow the application state immutably.
abscissa_cool_app/src/application.rs:70
↓ 2 callers
Method
talk
(&self)
basic_lang/src/traits_fun.rs:18
↓ 2 callers
Method
trial_division
(&self, n: u64)
prime-generator/src/prime.rs:19
↓ 2 callers
Method
view
(&self)
yew-app/src/main.rs:32
↓ 2 callers
Method
with_os
(mut self,os:OS)
builder-pattern-rust/src/main.rs:46
↓ 1 callers
Function
a1
https://stevedonovan.github.io/rust-gentle-intro/pain-points.html dont think this is true anymore.
annoying-borrow-checker/src/main.rs:11
↓ 1 callers
Method
add
(&mut self, item: Self::Item)
generic-constraints-assoc-types/src/main.rs:14
↓ 1 callers
Function
add_dot_toupper
(s:Rc<RefCell<String>>)
rc-cell-fun/src/main.rs:26
↓ 1 callers
Function
add_one
(i : i32)
basic_lang/src/functions.rs:1
↓ 1 callers
Function
app_config
Obtain a read-only (multi-reader) lock on the application configuration. Panics if the application configuration has not been loaded.
abscissa_cool_app/src/application.rs:27
↓ 1 callers
Function
array_map
(arr: &[u32; N])
const-function-and-eval/src/main.rs:8
next →
1–100 of 801, ranked by callers