Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustLangES/rust-book-es
/ functions
Functions
1,246 in github.com/RustLangES/rust-book-es
⨍
Functions
1,246
◇
Types & classes
352
Function
main
ANCHOR: here
listings/ch15-smart-pointers/listing-15-13/src/main.rs:24
Function
main
ANCHOR: here
listings/ch15-smart-pointers/listing-15-29/src/main.rs:12
Function
main
()
listings/ch15-smart-pointers/listing-15-11/src/main.rs:7
Function
main
ANCHOR: here
listings/ch15-smart-pointers/listing-15-26/src/main.rs:21
Function
main
()
listings/ch15-smart-pointers/listing-15-18/src/main.rs:9
Function
main
()
listings/ch15-smart-pointers/listing-15-14/src/main.rs:11
Function
main
()
listings/ch15-smart-pointers/listing-15-07/src/main.rs:1
Function
main
()
listings/ch15-smart-pointers/listing-15-06/src/main.rs:1
Function
main
()
listings/ch15-smart-pointers/listing-15-01/src/main.rs:1
Function
main
()
listings/ch15-smart-pointers/output-only-01-comparing-to-reference/src/main.rs:1
Function
main
ANCHOR: here
listings/ch15-smart-pointers/listing-15-09/src/main.rs:10
Function
main
ANCHOR: here
listings/ch15-smart-pointers/listing-15-16/src/main.rs:12
Function
main
()
listings/ch15-smart-pointers/listing-15-10/src/main.rs:21
Function
main
()
listings/ch15-smart-pointers/listing-15-24/src/main.rs:11
Function
main
ANCHOR: there
listings/ch15-smart-pointers/listing-15-27/src/main.rs:13
Function
main
()
listings/ch15-smart-pointers/no-listing-01-cant-borrow-immutable-as-mutable/src/main.rs:1
Function
main
ANCHOR: here
listings/ch15-smart-pointers/listing-15-19/src/main.rs:10
Function
main
()
listings/ch15-smart-pointers/listing-15-08/src/main.rs:11
Function
main
()
listings/ch15-smart-pointers/listing-15-03/src/main.rs:9
Function
main
()
listings/ch15-smart-pointers/listing-15-05/src/main.rs:8
Function
main
ANCHOR: here
listings/ch15-smart-pointers/listing-15-15/src/main.rs:12
Function
main
()
listings/ch15-smart-pointers/listing-15-17/src/main.rs:8
Function
main
()
listings/ch07-managing-growing-projects/quick-reference-example/src/main.rs:5
Function
main
()
listings/ch07-managing-growing-projects/listing-07-18/src/main.rs:8
Function
main
()
listings/ch07-managing-growing-projects/listing-07-14/src/main.rs:3
Function
main
()
listings/ch07-managing-growing-projects/no-listing-01-use-std-unnested/src/main.rs:9
Function
main
()
listings/ch10-generic-types-traits-and-lifetimes/listing-10-08/src/main.rs:6
Function
main
()
listings/ch10-generic-types-traits-and-lifetimes/no-listing-02-calling-default-impl/src/main.rs:3
Function
main
()
listings/ch10-generic-types-traits-and-lifetimes/listing-10-25/src/main.rs:15
Function
main
()
listings/ch10-generic-types-traits-and-lifetimes/listing-10-06/src/main.rs:6
Function
main
()
listings/ch10-generic-types-traits-and-lifetimes/listing-10-20/src/main.rs:1
Function
main
()
listings/ch10-generic-types-traits-and-lifetimes/listing-10-17/src/main.rs:1
Function
main
ANCHOR: here
listings/ch10-generic-types-traits-and-lifetimes/listing-10-22/src/main.rs:2
Function
main
()
listings/ch10-generic-types-traits-and-lifetimes/no-listing-09-unrelated-lifetime/src/main.rs:1
Function
main
()
listings/ch10-generic-types-traits-and-lifetimes/listing-10-03/src/main.rs:14
Function
main
()
listings/ch10-generic-types-traits-and-lifetimes/listing-10-19/src/main.rs:1
Function
main
()
listings/ch10-generic-types-traits-and-lifetimes/no-listing-01-calling-trait-method/src/main.rs:3
Function
main
()
listings/ch10-generic-types-traits-and-lifetimes/listing-10-09/src/main.rs:12
Function
main
()
listings/ch10-generic-types-traits-and-lifetimes/listing-10-04/src/main.rs:26
Function
main
()
listings/ch10-generic-types-traits-and-lifetimes/listing-10-16/src/main.rs:1
Function
main
()
listings/ch10-generic-types-traits-and-lifetimes/listing-10-18/src/main.rs:1
Function
main
ANCHOR: here
listings/ch10-generic-types-traits-and-lifetimes/listing-10-23/src/main.rs:2
Function
main
()
listings/ch10-generic-types-traits-and-lifetimes/listing-10-02/src/main.rs:1
Function
main
ANCHOR: here
listings/ch10-generic-types-traits-and-lifetimes/listing-10-01/src/main.rs:2
Function
main
()
listings/ch10-generic-types-traits-and-lifetimes/listing-10-05/src/main.rs:13
Function
main
()
listings/ch10-generic-types-traits-and-lifetimes/listing-10-07/src/main.rs:6
Function
main
()
listings/ch10-generic-types-traits-and-lifetimes/no-listing-03-default-impl-calls-other-methods/src/main.rs:3
Function
main
()
listings/ch10-generic-types-traits-and-lifetimes/listing-10-10/src/main.rs:20
Function
main
()
listings/ch10-generic-types-traits-and-lifetimes/listing-10-21/src/main.rs:1
Function
main
()
listings/ch10-generic-types-traits-and-lifetimes/no-listing-11-generics-traits-and-lifetimes/src/main.rs:1
Function
main
()
listings/ch10-generic-types-traits-and-lifetimes/listing-10-11/src/main.rs:15
Function
main
()
listings/ch10-generic-types-traits-and-lifetimes/no-listing-10-lifetimes-on-methods/src/main.rs:22
Function
main
()
listings/ch10-generic-types-traits-and-lifetimes/listing-10-24/src/main.rs:5
Function
main
()
listings/ch10-generic-types-traits-and-lifetimes/no-listing-08-only-one-reference-with-lifetime/src/main.rs:1
Function
mix
Combines two primary colors in equal amounts to create a secondary color.
listings/ch14-more-about-cargo/listing-14-05/src/lib.rs:36
Function
mix
Combines two primary colors in equal amounts to create a secondary color.
listings/ch14-more-about-cargo/listing-14-03/src/lib.rs:27
Method
new
()
packages/mdbook-trpl/src/figure/mod.rs:230
Method
new
Create a new ThreadPool. The size is the number of threads in the pool. # Panics The `new` function will panic if the size is zero.
listings/ch21-web-server/listing-21-25/src/lib.rs:21
Method
new
--snip-- ANCHOR_END: here Create a new ThreadPool. The size is the number of threads in the pool. # Panics The `new` function will panic if the siz
listings/ch21-web-server/listing-21-14/src/lib.rs:19
Method
new
Create a new ThreadPool. The size is the number of threads in the pool. # Panics The `new` function will panic if the size is zero.
listings/ch21-web-server/no-listing-04-update-drop-definition/src/lib.rs:21
Method
new
--snip-- ANCHOR_END: here Create a new ThreadPool. The size is the number of threads in the pool. # Panics The `new` function will panic if the siz
listings/ch21-web-server/listing-21-17/src/lib.rs:22
Method
new
Create a new ThreadPool. The size is the number of threads in the pool. # Panics The `new` function will panic if the size is zero.
listings/ch21-web-server/listing-21-20/src/lib.rs:21
Method
new
Create a new ThreadPool. The size is the number of threads in the pool. # Panics The `new` function will panic if the size is zero.
listings/ch21-web-server/listing-21-22/src/lib.rs:21
Method
new
Create a new ThreadPool. The size is the number of threads in the pool. # Panics The `new` function will panic if the size is zero.
listings/ch21-web-server/no-listing-05-fix-worker-new/src/lib.rs:21
Method
new
--snip-- ANCHOR_END: here Create a new ThreadPool. The size is the number of threads in the pool. # Panics The `new` function will panic if the siz
listings/ch21-web-server/listing-21-16/src/lib.rs:22
Method
new
Create a new ThreadPool. The size is the number of threads in the pool. # Panics The `new` function will panic if the size is zero.
listings/ch21-web-server/listing-21-24/src/lib.rs:21
Method
new
--snip-- ANCHOR_END: here Create a new ThreadPool. The size is the number of threads in the pool. # Panics The `new` function will panic if the siz
listings/ch21-web-server/listing-21-15/src/lib.rs:19
Method
new
Create a new ThreadPool. The size is the number of threads in the pool. # Panics The `new` function will panic if the size is zero.
listings/ch21-web-server/no-listing-07-final-code/src/lib.rs:21
Method
new
ANCHOR_END: here Create a new ThreadPool. The size is the number of threads in the pool. # Panics The `new` function will panic if the size is zero
listings/ch21-web-server/listing-21-23/src/lib.rs:27
Method
new
--snip-- ANCHOR_END: here Create a new ThreadPool. The size is the number of threads in the pool. # Panics The `new` function will panic if the siz
listings/ch21-web-server/listing-21-18/src/lib.rs:28
Method
new
Create a new ThreadPool. The size is the number of threads in the pool. # Panics The `new` function will panic if the size is zero.
listings/ch21-web-server/listing-21-13/src/lib.rs:12
Method
new
Create a new ThreadPool. The size is the number of threads in the pool. # Panics The `new` function will panic if the size is zero.
listings/ch21-web-server/no-listing-06-fix-threadpool-drop/src/lib.rs:21
Method
new
--snip-- ANCHOR_END: here
listings/ch21-web-server/no-listing-03-define-execute/src/lib.rs:7
Method
new
(size: usize)
listings/ch21-web-server/no-listing-02-impl-threadpool-new/src/lib.rs:4
Method
new
Create a new ThreadPool. The size is the number of threads in the pool. # Panics The `new` function will panic if the size is zero.
listings/ch21-web-server/listing-21-21/src/lib.rs:21
Method
new
--snip-- ANCHOR_END: here Create a new ThreadPool. The size is the number of threads in the pool. # Panics The `new` function will panic if the siz
listings/ch21-web-server/listing-21-19/src/lib.rs:26
Method
new
(value: i32)
listings/ch09-error-handling/listing-09-13/src/guessing_game.rs:6
Method
new
(value: i32)
listings/ch11-writing-automated-tests/listing-11-09/src/lib.rs:9
Method
new
(value: i32)
listings/ch11-writing-automated-tests/no-listing-08-guess-with-bug/src/lib.rs:8
Method
new
(value: i32)
listings/ch11-writing-automated-tests/no-listing-09-guess-with-panic-msg-bug/src/lib.rs:6
Method
new
(value: i32)
listings/ch11-writing-automated-tests/listing-11-08/src/lib.rs:6
Method
new
()
listings/ch20-advanced-features/no-listing-22-iterator-on-counter/src/lib.rs:6
Method
new
ANCHOR: here --snip--
listings/ch12-an-io-project/listing-12-08/src/main.rs:26
Method
new
(args: &[String])
listings/ch12-an-io-project/listing-12-07/src/main.rs:33
Method
new
()
listings/ch18-oop/listing-18-19/src/lib.rs:10
Method
new
()
listings/ch18-oop/listing-18-12/src/lib.rs:7
Method
new
()
listings/ch18-oop/listing-18-20/src/lib.rs:10
Method
new
--snip-- ANCHOR_END: here
listings/ch18-oop/listing-18-16/src/lib.rs:10
Method
new
()
listings/ch18-oop/listing-18-18/src/lib.rs:7
Method
new
--snip-- ANCHOR_END: here
listings/ch18-oop/listing-18-14/src/lib.rs:10
Method
new
--snip-- ANCHOR_END: here
listings/ch18-oop/listing-18-17/src/lib.rs:10
Method
new
()
listings/ch18-oop/listing-18-21/src/lib.rs:10
Method
new
--snip-- ANCHOR_END: here
listings/ch18-oop/listing-18-15/src/lib.rs:10
Method
new
--snip-- ANCHOR_END: here
listings/ch18-oop/listing-18-13/src/lib.rs:10
Method
new
(x: T)
listings/ch15-smart-pointers/listing-15-12/src/main.rs:14
Method
new
(x: T)
listings/ch15-smart-pointers/listing-15-13/src/main.rs:14
Method
new
(messenger: &'a T, max: usize)
listings/ch15-smart-pointers/listing-15-20/src/lib.rs:15
Method
new
(messenger: &'a T, max: usize)
listings/ch15-smart-pointers/listing-15-22/src/lib.rs:15
Method
new
(messenger: &'a T, max: usize)
listings/ch15-smart-pointers/listing-15-21/src/lib.rs:15
Method
new
(x: T)
listings/ch15-smart-pointers/listing-15-09/src/main.rs:4
← previous
next →
1,001–1,100 of 1,246, ranked by callers