検索

phrase: max: clip:
target: order:
Results of 1 - 4 of about 4 for pass (0.011 sec.)
省略 - Rust By Example 日本語版 12426
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... annotated_input`: {}", x); } // Similarly, `elided_pass` and `annotated_pass` have identical signatures // ... ecause the lifetime is added implicitly to `elided_pass`: // 同様に、以下の2つの関数も全く同じライフタイム ... シグネチャを持つ。 fn elided_pass(x: &i32) -> &i32 { x } fn annotated_pass<'a>(x: &' ... _input(&x); annotated_input(&x); println!("`elided_pass`: {}", elided_pass(&x)); println!("`annotated_pass ...
https://man.plustar.jp/rust/example/scope/lifetime/elision.html - [similar]
関数 - Rust By Example 日本語版 8488
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ", x, y); } // Returning references that have been passed in is acceptable. // However, the correct lifeti ... いが、適切なライフタイム // でなくてはならない。 fn pass_x<'a, 'b>(x: &'a i32, _: &'b i32) -> &'a i32 { x } ... y = 9; print_one(&x); print_multi(&x, &y); let z = pass_x(&x, &y); print_one(z); let mut t = 3; add_one(&m ...
https://man.plustar.jp/rust/example/scope/lifetime/fn.html - [similar]
Resultのmap - Rust By Example 日本語版 8007
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... eads: // Modify n if the value is valid, otherwise pass on the error. // `Option`と同様、`map()`などのコン ...
https://man.plustar.jp/rust/example/error/result/result_map.html - [similar]
ドキュメンテーション - Rust By Example 日本語版 8007
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... e between fences inside the comments /// // If you pass --test to `rustdoc`, it will even test it for you! ...
https://man.plustar.jp/rust/example/meta/doc.html - [similar]
PREV 1 NEXT