検索
Results of 1 - 10 of about 12 for data (0.002 sec.)
- Testcase: map-reduce - Rust By Example 日本語版 14627
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...map-reduce Rust makes it very easy to parallelise data processing, without many of the headaches traditio...wnership and aliasing rules, automatically prevent data races. The aliasing rules (one writable reference...read-only references, and that thus no unsafety or data races can occur. Because we're move -ing the data...egments into the thread, Rust will also ensure the data is kept alive until the threads exit, so no dangli... - https://man.plustar.jp/rust/example/std_misc/threads/testcase_mapreduce.html - [similar]
- スタティックライフタイム - Rust By Example 日本語版 9003
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...As a reference lifetime 'static indicates that the data pointed to by the reference lives for the entire l...e, the reference // can no longer be used, but the data remains in the binary. // `static_string`がスコープ...important to understand this means that any owned data always passes a 'static lifetime bound, but a refe...rence to that owned data generally does not: use std::fmt::Debug; fn print_... - https://man.plustar.jp/rust/example/scope/lifetime/static_lifetime.html - [similar]
- 所有権とムーブ - Rust By Example 日本語版 8684
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...; // The pointer address of `a` is copied (not the data) into `b`. // Both are now pointers to the same he...ap allocated data, but // `b` now owns it. // すなわち、`a`の指すメモ...`b`にある。 // Error! `a` can no longer access the data, because it no longer owns the // heap memory // エ... - https://man.plustar.jp/rust/example/scope/move.html - [similar]
- エイリアス - Rust By Example 日本語版 8437
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...ed_point = &point; let another_borrow = &point; // Data can be accessed via the references and the origina...erence. let mutable_borrow = &mut point; // Change data via mutable reference // ミュータブルなリファレンス... - https://man.plustar.jp/rust/example/scope/borrow/alias.html - [similar]
- 関数 - Rust By Example 日本語版 8437
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...e a `String`, followed by a // reference. Then the data is dropped upon exiting the scope, leaving // a re...ference to invalid data to be returned. // `'a`は関数より長くなくてはならな... - https://man.plustar.jp/rust/example/scope/lifetime/fn.html - [similar]
- Dev-dependencies - Rust By Example 日本語版 8189
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...assert! macros. File Cargo.toml : # standard crate data is left out [dev-dependencies] pretty_assertions =... - https://man.plustar.jp/rust/example/testing/dev_dependencies.html - [similar]
- エラーをラップする - Rust By Example 日本語版 8118
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...rror. // Supplying extra info requires adding more data to the type. // パースエラーの実装まで処理を委譲し... - https://man.plustar.jp/rust/example/error/multiple_error_types/wrap_error.html - [similar]
- 捕捉時の型推論 - Rust By Example 日本語版 8118
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
..."; // A non-copy type. // `to_owned` creates owned data from borrowed one // コピーではなくmoveが起きる型... - https://man.plustar.jp/rust/example/fn/closures/input_parameters.html - [similar]
- ディスプレイ - Rust By Example 日本語版 8118
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...{ // Use `self.number` to refer to each positional data point. write!(f, "({}, {})", self.0, self.1) } } /... - https://man.plustar.jp/rust/example/hello/print/print_display.html - [similar]
- 借用 - Rust By Example 日本語版 8118
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...ow_i32(&stacked_i32); { // Take a reference to the data contained inside the box // ボックス内の要素に対す... - https://man.plustar.jp/rust/example/scope/borrow.html - [similar]