IT

 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 

 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 

 

 

 






 







 


IT

 

 

AI  

 

 






 







 


 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 

 






 







 


 

Web  

 

 

PlayStation  

 

YouTuber  

 





 
Wikipedia
 





 

 

 












Introduction - The Rust Reference  

3users  
doc.rust-lang.org  


Introduction This book is the primary reference for the Rust programming language. It provides three kinds of material: Chapters that informally describe each language construct and their use. Chapters that informally describe the memory model, concurrency model, runtime services, linkage model, and debugging facilities. Appendix chapters providing rationale and references to languages that influe




 

2021/06/11 18:29
 



 

















The Rust Programming Language - The Rust Programming Language  

9users  
doc.rust-lang.org  


The Rust Programming Language by Steve Klabnik and Carol Nichols, with contributions from the Rust Community This version of the text assumes youre using Rust 1.76.0 (released 2024-02-08) or later. See the Installation section of Chapter 1 to install or update Rust. The HTML format is available online at https://doc.rust-lang.org/stable/book/ and offline with installations of Rust made with rus




 

2020/01/24 23:35
 









 











dyn - Rust  

3users  
doc.rust-lang.org  


dyn is a prefix of a trait objects type. The dyn keyword is used to highlight that calls to methods on the associated Trait are dynamically dispatched. To use the trait this way, it must be object safe. Unlike generic parameters or impl Trait, the compiler does not know the concrete type that is being passed. That is, the type has been erased. As such, a dyn Trait reference contains two pointer




 

2019/10/16 23:48
 













std::collections - Rust  

3users  
doc.rust-lang.org  


Collection types. Rusts standard collection library provides efficient implementations of the most common general purpose programming data structures. By using the standard implementations, it should be possible for two libraries to communicate without significant data conversion. To get this out of the way: you should probably just use Vec or HashMap. These two collections cover most use cases f




 

2019/10/16 23:23
 













std - Rust  

4users  
doc.rust-lang.org  


§The Rust Standard Library The Rust Standard Library is the foundation of portable Rust software, a set of minimal and battle-tested shared abstractions for the broader Rust ecosystem. It offers core types, like Vec<T> and Option<T>, library-defined operations on language primitives, standard macros, I/O and multithreading, among many other things. std is available to all Rust crates by default. T




 

2019/08/03 14:41
 



 











Introduction - Rust By Example  

9users  
doc.rust-lang.org  


Rust by Example Rust is a modern systems programming language focusing on safety, speed, and concurrency. It accomplishes these goals by being memory safe without using garbage collection. Rust by Example (RBE) is a collection of runnable examples that illustrate various Rust concepts and standard libraries. To get even more out of these examples, don't forget to install Rust locally and check out




 

2019/06/03 22:24
 



 











Introduction - The Cargo Book  

3users  
doc.rust-lang.org  


The Cargo Book Cargo is the Rust package manager. Cargo downloads your Rust packages dependencies, compiles your packages, makes distributable packages, and uploads them to crates.io, the Rust communitys package registry. You can contribute to this book on GitHub. Sections Getting Started To get started with Cargo, install Cargo (and Rust) and set up your first crate. Cargo Guide The guide will




 

2019/01/11 20:55
 





 











RwLock in std::sync - Rust  

3users  
doc.rust-lang.org  


pub struct RwLock<T: ?Sized> { /* private fields */ }Expand description A reader-writer lock This type of lock allows a number of readers or at most one writer at any point in time. The write portion of this lock typically allows modification of the underlying data (exclusive access) and the read portion of this lock typically allows for read-only access (shared access). In comparison, a Mutex doe




 

2018/10/29 16:59
 













std::option::Option - Rust  

4users  
doc.rust-lang.org  


pub enum Option<T> { None, Some(T), }Expand description




 

2018/10/02 04:26
 













The Manifest Format - The Cargo Book  

5users  
doc.rust-lang.org  


The Manifest Format The Cargo.toml file for each package is called its manifest. It is written in the TOML format. It contains metadata that is needed to compile the package. Checkout the cargo locate-project section for more detail on how cargo finds the manifest file. Every manifest file consists of the following sections: cargo-features  Unstable, nightly-only features. [package]  Defines a p




 

2018/09/10 23:38
 













Introduction - The Rustonomicon

5users  
doc.rust-lang.org  


Warning: This book is incomplete. Documenting everything and rewriting outdated parts take a while. See the issue tracker to check what's missing/outdated, and if there are any mistakes or ideas that haven't been reported, feel free to open a new issue there. The Dark Arts of Unsafe Rust THE KNOWLEDGE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED




 

2018/08/07 21:33
 





 











Introduction - Rust By Example  

3users  
doc.rust-lang.org  


Rust by Example Rust is a modern systems programming language focusing on safety, speed, and concurrency. It accomplishes these goals by being memory safe without using garbage collection. Rust by Example (RBE) is a collection of runnable examples that illustrate various Rust concepts and standard libraries. To get even more out of these examples, don't forget to install Rust locally and check out




 

2018/06/30 07:26
 







 











Introduction - Rust By Example  

8users  
doc.rust-lang.org  


Rust by Example Rust is a modern systems programming language focusing on safety, speed, and concurrency. It accomplishes these goals by being memory safe without using garbage collection. Rust by Example (RBE) is a collection of runnable examples that illustrate various Rust concepts and standard libraries. To get even more out of these examples, don't forget to install Rust locally and check out




 

2018/06/21 15:57
 





 











Introduction - The Cargo Book  

6users  
doc.rust-lang.org  


The Cargo Book Cargo is the Rust package manager. Cargo downloads your Rust packages dependencies, compiles your packages, makes distributable packages, and uploads them to crates.io, the Rust communitys package registry. You can contribute to this book on GitHub. Sections Getting Started To get started with Cargo, install Cargo (and Rust) and set up your first crate. Cargo Guide The guide will




 

2018/06/11 16:06
 



 











Procedural Macros (and custom derive) - The Rust Programming Language  

4users  
doc.rust-lang.org  


Procedural Macros (and custom Derive) The first edition of the book is no longer distributed with Rust's documentation. If you came here via a link or web search, you may want to check out the current version of the book instead. If you have an internet connection, you can find a copy distributed with Rust 1.30.




 

2017/12/20 15:35
 













Ownership  

3users  
doc.rust-lang.org  


Ownership This guide is one of three presenting Rusts ownership system. This is one of Rusts most unique and compelling features, with which Rust developers should become quite acquainted. Ownership is how Rust achieves its largest goal, memory safety. There are a few distinct concepts, each with its own chapter: ownership, which youre reading now borrowing, and their associated feature refere




 

2017/12/03 03:40
 













Rust Inside Other Languages  

5users  
doc.rust-lang.org  


Rust Inside Other Languages For our third project, were going to choose something that shows off one of Rusts greatest strengths: a lack of a substantial runtime. As organizations grow, they increasingly rely on a multitude of programming languages. Different programming languages have different strengths and weaknesses, and a polyglot stack lets you use a particular language where its strengths




 

2017/07/31 09:59
 







 











Foreword - The Rust Programming Language  

9users  
doc.rust-lang.org  


Foreword The second edition of the book is no longer distributed with Rust's documentation. If you came here via a link or web search, you may want to check out the current version of the book instead. If you have an internet connection, you can find a copy distributed with Rust 1.30.




 

2017/07/18 15:20
 





 











Foreword - The Rust Programming Language  

4users  
doc.rust-lang.org  


Foreword The second edition of the book is no longer distributed with Rust's documentation. If you came here via a link or web search, you may want to check out the current version of the book instead. If you have an internet connection, you can find a copy distributed with Rust 1.30.




 

2017/06/10 17:21
 



 











Platform Support - The rustc book  

4users  
doc.rust-lang.org  


Platform Support Support for different platforms ("targets") are organized into three tiers, each with a different set of guarantees. For more information on the policies for targets at each tier, see the Target Tier Policy. Targets are identified by their "target triple" which is the string to inform the compiler what kind of output should be produced. Component availability is tracked here. Tier




 

2017/04/13 10:26
 



 











Cursor in std::io - Rust  

4users  
doc.rust-lang.org  


pub struct Cursor<T> { /* private fields */ }Expand description A Cursor wraps an in-memory buffer and provides it with a Seek implementation. Cursors are used with in-memory buffers, anything implementing AsRef<[u8]>, to allow them to implement Read and/or Write, allowing these buffers to be used anywhere you might use a reader or writer that does actual I/O. The standard library implements some




 

2017/03/28 08:45
 





 











Iterator in std::iter - Rust  

4users  
doc.rust-lang.org  


pub trait Iterator { type Item; Show 76 methods // Required method fn next(&mut self) -> Option<Self::Item>; // Provided methods fn next_chunk<const N: usize>( &mut self ) -> Result<[Self::Item; N], IntoIter<Self::Item, N>> where Self: Sized { ... } fn size_hint(&self) -> (usize, Option<usize>) { ... } fn count(self) -> usize where Self: Sized { ... } fn last(self) -> Option<Self::Item> where Self




 

2017/03/21 00:14
 



 











Debug in std::fmt - Rust  

3users  
doc.rust-lang.org  


pub trait Debug { // Required method fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>; }Expand description ? formatting. Debug should format the output in a programmer-facing, debugging context. Generally speaking, you should just derive a Debug implementation. When used with the alternate format specifier #?, the output is pretty-printed. For more information on formatters, see the modul




 

2017/03/17 14:22
 













Procedural Macros (and custom Derive)  

3users  
doc.rust-lang.org  


Procedural Macros (and custom Derive) There is a new edition of the book and this is an old link. Procedural macros allow for all sorts of advanced metaprogramming in Rust. This chapter does not exist yet in the second edition. You can check out other resources that describe macros. In the current edition: Ch 19.06 Macros In the Rust Reference: Ch 3.2  Procedural Macros The proc_macro crate docum




 

2017/02/28 00:43
 













std::marker::PhantomData - Rust

5users  
doc.rust-lang.org  


pub struct PhantomData<T> where T: ?Sized;Expand description Zero-sized type used to mark things that act like they own a T. Adding a PhantomData<T> field to your type tells the compiler that your type acts as though it stores a value of type T, even though it doesnt really. This information is used when computing certain safety properties. For a more in-depth explanation of how to use PhantomD




 

2016/07/23 15:43
 



 











The Rust Reference has moved  

7users  
doc.rust-lang.org  


The Rust Reference has moved Weve split up the reference into chapters. Please find it at its new home here.




 

2016/07/11 22:48
 





 











std::sync::Arc - Rust  

3users  
doc.rust-lang.org  


A thread-safe reference-counting pointer. Arc stands for Atomically Reference Counted. The type Arc<T> provides shared ownership of a value of type T, allocated in the heap. Invoking clone on Arc produces a new Arc instance, which points to the same allocation on the heap as the source Arc, while increasing a reference count. When the last Arc pointer to a given allocation is destroyed, the va




 

2016/06/20 09:46
 













Introduction -  

5users  
doc.rust-lang.org  


The Rustonomicon The Dark Arts of Advanced and Unsafe Rust Programming Instead of the programs I had hoped for, there came only a shuddering blackness and ineffable loneliness; and I saw at last a fearful truth which no one had ever dared to breathe before  the unwhisperable secret of secrets  The fact that this language of stone and stridor is not a sentient perpetuation of Rust as London is of




 

2016/05/26 19:21
 



 











The Stack and the Heap  

4users  
doc.rust-lang.org  


The Stack and the Heap There is a new edition of the book and this is an old link. Both the stack and the heap are parts of memory that is available to your code to use at runtime, but they are structured in different ways. The stack stores values in the order it gets them and removes the values in the opposite order. All data on the stack must take up a known, fixed size. For data with a size unk




 

2016/05/17 08:46
 










 




























 

Learn Rust  

 



j

k

l

e

o
 
 
















 









 

















 









 









 







Pro



 




 






App Storeからダウンロード
Google Playで手に入れよう


Copyright © 2005-2024 Hatena. All Rights Reserved.
 





x