検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 193 for Into (0.021 sec.)
Testcase: map-reduce - Rust By Example 日本語版 12288
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 型推論 5.4. エイリアス 6. 型変換 ❱ 6.1. FromおよびInto 6.2. TryFromおよびTryInto 6.3. Stringとの型変換 7. ... will do this by parcelling out chunks of the block into different threads. Each thread will sum its tiny b ... n occur. Because we're move -ing the data segments into the thread, Rust will also ensure the data is kept ... **************** * "Map" phase * * Divide our data into segments, and apply initial processing *********** ...
https://man.plustar.jp/rust/example/std_misc/threads/testcase_mapreduce.html - [similar]
Rust By Example 日本語版 11505
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 型推論 5.4. エイリアス 6. 型変換 ❱ 6.1. FromおよびInto 6.2. TryFromおよびTryInto 6.3. Stringとの型変換 7. ... fmt::Result { // Write strictly the first element into the supplied output // stream: `f`. Returns `fmt:: ... r, and this method must write the formatted string into it // `f` はバッファです。このメソッドは // ここに ... ormat!`, but it will write the formatted string // into a buffer (the first argument) // `write!`は`format ...
https://man.plustar.jp/rust/example/print.html - [similar]
FromおよびInto - Rust By Example 日本語版 10854
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 型推論 5.4. エイリアス 6. 型変換 ❱ 6.1. FromおよびInto 6.2. TryFromおよびTryInto 6.3. Stringとの型変換 7. ... Coal Navy Ayu Rust By Example 日本語版 From および Into From トレイトと Into トレイトは本質的に結びついてお ... r::from(30); println!("My number is {:?}", num); } Into Into トレイトは、単に From トレイトの逆の働きをしま ... す。もし自作の型に From トレイトが実装されていたら、 Into は必要に応じてそれを呼び出します。 Into トレイトを ...
https://man.plustar.jp/rust/example/conversion/from_into.html - [similar]
Iterator::find - Rust By Example 日本語版 10462
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 型推論 5.4. エイリアス 6. 型変換 ❱ 6.1. FromおよびInto 6.2. TryFromおよびTryInto 6.3. Stringとの型変換 7. ... 32`を`yield`する。 let mut iter = vec1.iter(); // `into_iter()` for vecs yields `i32`. // `inter_iter()`の ... 場合は`i32`を`yield`する。 let mut into_iter = vec2.into_iter(); // `iter()` for vecs yiel ... d 2 in vec1: {:?}", iter .find(|&&x| x == 2)); // `into_iter()` for vecs yields `i32`, and we want to refe ...
https://man.plustar.jp/rust/example/fn/closures/closure_examples/iter_find.html - [similar]
impl Trait - Rust By Example 日本語版 9811
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 型推論 5.4. エイリアス 6. 型変換 ❱ 6.1. FromおよびInto 6.2. TryFromおよびTryInto 6.3. Stringとの型変換 7. ... tespace .collect() // Collect all strings in a row into a Vec<String> }) }) .collect() // Collect all line ... s into a Vec<Vec<String>> } parse_csv_document is generic ... tespace .collect() // Collect all strings in a row into a Vec<String> }) }) .collect() // Collect all line ...
https://man.plustar.jp/rust/example/trait/impl_trait.html - [similar]
Resultをイテレートする - Rust By Example 日本語版 9550
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 型推論 5.4. エイリアス 6. 型変換 ❱ 6.1. FromおよびInto 6.2. TryFromおよびTryInto 6.3. Stringとの型変換 7. ... tofu", "93", "18"]; let numbers: Vec<_> = strings .into_iter() .map(|s| s.parse::<i32>()) .collect(); prin ... tofu", "93", "18"]; let numbers: Vec<_> = strings .into_iter() .filter_map(|s| s.parse::<i32>().ok()) .col ... , "18"]; let numbers: Result<Vec<_>, _> = strings .into_iter() .map(|s| s.parse::<i32>()) .collect(); prin ...
https://man.plustar.jp/rust/example/error/iter_result.html - [similar]
Iterator::any - Rust By Example 日本語版 8898
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 型推論 5.4. エイリアス 6. 型変換 ❱ 6.1. FromおよびInto 6.2. TryFromおよびTryInto 6.3. Stringとの型変換 7. ... in vec1: {}", vec1.iter() .any(|&x| x == 2)); // `into_iter()` for vecs yields `i32`. No destructuring re ... quired. // `into_iter()`の場合は`i32`を`yield`するので、デストラクト ... する必要はない。 println!("2 in vec2: {}", vec2.into_iter().any(| x| x == 2)); let array1 = [1, 2, 3]; ...
https://man.plustar.jp/rust/example/fn/closures/closure_examples/iter_any.html - [similar]
TryFromおよびTryInto - Rust By Example 日本語版 7855
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 型推論 5.4. エイリアス 6. 型変換 ❱ 6.1. FromおよびInto 6.2. TryFromおよびTryInto 6.3. Stringとの型変換 7. ... avy Ayu Rust By Example 日本語版 TryFrom および TryInto From および Into と同様に、 TryFrom および TryInto ... も型変換を行うジェネリックなトレイトです。 From / Into と異なり、 TryFrom / TryInto トレイトは失敗する可能 ... す。 use std::convert::TryFrom; use std::convert::TryInto; #[derive(Debug, PartialEq)] struct EvenNumber(i32 ...
https://man.plustar.jp/rust/example/conversion/try_from_try_into.html - [similar]
for と range - Rust By Example 日本語版 7333
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 型推論 5.4. エイリアス 6. 型変換 ❱ 6.1. FromおよびInto 6.2. TryFromおよびTryInto 6.3. Stringとの型変換 7. ... で説明したように、デフォルトでは for ループにおいて into_iter 関数がコレクションに対して適用されます。しかし ... をイテレータに変換する方法はこれだけではありません。 into_iter 、 iter 、 iter_mut はいずれもコレクションのイ ... {}", name), } } println!("names: {:?}", names); } into_iter - この関数はコレクションからデータを取り出すの ...
https://man.plustar.jp/rust/example/flow_control/for.html - [similar]
ベクタ型 - Rust By Example 日本語版 6942
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 型推論 5.4. エイリアス 6. 型変換 ❱ 6.1. FromおよびInto 6.2. TryFromおよびTryInto 6.3. Stringとの型変換 7. ... されます。 fn main() { // Iterators can be collected into vectors // イテレータは要素を収集してベクタにするこ ... > = (0..10).collect(); println!("Collected (0..10) into: {:?}", collected_iterator); // The `vec!` macro c ... クタの最後に挿入することができる。 println!("Push 4 into the vector"); xs.push(4); println!("Vector: {:?}", ...
https://man.plustar.jp/rust/example/std/vec.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 NEXT