検索
Results of 41 - 50 of about 106 for use (0.085 sec.)
- テストの体系化 - Rust 日本語版 5934
- The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello,
...
る 7.3. モジュールツリーの要素を示すためのパス 7.4. useキーワードでパスをスコープに持ち込む 7.5. モジュール...
い出してください: ファイル名: src/lib.rs #![allow(unused)] fn main() { #[cfg(test)] mod tests { #[test] fn...
を考えてください。 ファイル名: src/lib.rs #![allow(unused)] fn main() { pub fn add_two(a: i32) -> i32 { int...
b: i32) -> i32 { a + b } #[cfg(test)] mod tests { use super::*; #[test] fn internal() { assert_eq!(4, in...
- https://man.plustar.jp/rust/book/ch11-03-test-organization.html - [similar]
- テスト駆動開発でライブラリの機能を開発する - Rust 日本語版 5934
- The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello,
...
る 7.3. モジュールツリーの要素を示すためのパス 7.4. useキーワードでパスをスコープに持ち込む 7.5. モジュール...
イルは通りません。 ファイル名: src/lib.rs #![allow(unused)] fn main() { fn search<'a>(query: &str, contents...
-> Vec<&'a str> { vec![] } #[cfg(test)] mod test { use super::*; #[test] fn one_result() { let query = "d...
致しないからです。 ファイル名: src/lib.rs #![allow(unused)] fn main() { pub fn search<'a>(query: &str, cont...
- https://man.plustar.jp/rust/book/ch12-04-testing-the-librarys-functionality.html - [similar]
- オブジェクト指向デザインパターンを実装する - Rust 日本語版 5934
- The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello,
...
る 7.3. モジュールツリーの要素を示すためのパス 7.4. useキーワードでパスをスコープに持ち込む 7.5. モジュール...
ません。 ファイル名: src/main.rs extern crate blog; use blog::Post; fn main() { let mut post = Post::new()...
はすぐわかります。 ファイル名: src/lib.rs #![allow(unused)] fn main() { pub struct Post { state: Option<Box...
に追加しましょう: ファイル名: src/lib.rs #![allow(unused)] fn main() { pub struct Post { content: String,...
- https://man.plustar.jp/rust/book/ch17-03-oo-design-patterns.html - [similar]
- 付録 - Rust 日本語版 5857
- The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello,
...
る 7.3. モジュールツリーの要素を示すためのパス 7.4. useキーワードでパスをスコープに持ち込む 7.5. モジュール...
- https://man.plustar.jp/rust/book/appendix-00.html - [similar]
- 付録F:本の翻訳 - Rust 日本語版 5857
- The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello,
...
る 7.3. モジュールツリーの要素を示すためのパス 7.4. useキーワードでパスをスコープに持ち込む 7.5. モジュール...
- https://man.plustar.jp/rust/book/appendix-06-translation.html - [similar]
- 事始め - Rust 日本語版 5857
- The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello,
...
る 7.3. モジュールツリーの要素を示すためのパス 7.4. useキーワードでパスをスコープに持ち込む 7.5. モジュール...
- https://man.plustar.jp/rust/book/ch01-00-getting-started.html - [similar]
- 一般的なプログラミングの概念 - Rust 日本語版 5857
- The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello,
...
る 7.3. モジュールツリーの要素を示すためのパス 7.4. useキーワードでパスをスコープに持ち込む 7.5. モジュール...
- https://man.plustar.jp/rust/book/ch03-00-common-programming-concepts.html - [similar]
- コメント - Rust 日本語版 5857
- The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello,
...
る 7.3. モジュールツリーの要素を示すためのパス 7.4. useキーワードでパスをスコープに持ち込む 7.5. モジュール...
るでしょう。 こちらが単純なコメントです: #![allow(unused)] fn main() { // hello, world } Rustでは、コメント...
/ を含める必要があります。こんな感じに: #![allow(unused)] fn main() { // So we're doing something complic...
- https://man.plustar.jp/rust/book/ch03-04-comments.html - [similar]
- 所有権を理解する - Rust 日本語版 5857
- The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello,
...
る 7.3. モジュールツリーの要素を示すためのパス 7.4. useキーワードでパスをスコープに持ち込む 7.5. モジュール...
- https://man.plustar.jp/rust/book/ch04-00-understanding-ownership.html - [similar]
- スライス型 - Rust 日本語版 5857
- The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello,
...
る 7.3. モジュールツリーの要素を示すためのパス 7.4. useキーワードでパスをスコープに持ち込む 7.5. モジュール...
ere's no more string that // we could meaningfully use the value 5 with. word is now totally invalid! //...
いいです。 換言すれば、これらは等価です: #![allow(unused)] fn main() { let s = String::from("hello"); let...
いです。 つまり、これらは等価になります: #![allow(unused)] fn main() { let s = String::from("hello"); let...
- https://man.plustar.jp/rust/book/ch04-03-slices.html - [similar]