検索
Results of 11 - 16 of about 16 for block (0.028 sec.)
- Disambiguating overlapping traits - Rust By Example 日本語版 7433
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ecause each trait implementation gets its own impl block, it's clear which trait's get method you're implem...
- https://man.plustar.jp/rust/example/trait/disambiguating.html - [similar]
- if let - Rust By Example 日本語版 7260
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
tructures `number` into // `Some(i)`, evaluate the block (`{}`). // `if let`文は以下と同じ意味. // // もしl...
- https://man.plustar.jp/rust/example/flow_control/if_let.html - [similar]
- メソッド - Rust By Example 日本語版 7260
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
struct Point { x: f64, y: f64, } // Implementation block, all `Point` associated functions & methods go in...
- https://man.plustar.jp/rust/example/fn/methods.html - [similar]
- 識別子 - Rust By Example 日本語版 7260
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
(); bar(); print_result!(1u32 + 1); // Recall that blocks are expressions too! // ブロックも式の一種であるこ...
} 使用できる識別子には以下のようなものがあります。 block expr 式に使用 ident 関数、変数の名前に使用 item li...
- https://man.plustar.jp/rust/example/macros/designators.html - [similar]
- macro_rules! - Rust By Example 日本語版 7260
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
// The macro will expand into the contents of this block. // マクロは(訳注: プリコンパイルの段階で)このブ...
- https://man.plustar.jp/rust/example/macros.html - [similar]
- チャネル - Rust By Example 日本語版 7260
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
。 thread_tx.send(id).unwrap(); // Sending is a non-blocking operation, the thread will continue // immediat...
od picks a message from the channel // `recv` will block the current thread if there are no messages availa...
- https://man.plustar.jp/rust/example/std_misc/channels.html - [similar]