検索

phrase: max: clip:
target: order:
Results of 1 - 6 of about 6 for annotated (0.015 sec.)
省略 - Rust By Example 日本語版 13106
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ムの省略 の項を見てください。 // `elided_input` and `annotated_input` essentially have identical signatures // be ... x: &i32) { println!("`elided_input`: {}", x); } fn annotated_input<'a>(x: &'a i32) { println!("`annotated_input ... `: {}", x); } // Similarly, `elided_pass` and `annotated_pass` have identical signatures // because the lif ... ャを持つ。 fn elided_pass(x: &i32) -> &i32 { x } fn annotated_pass<'a>(x: &'a i32) -> &'a i32 { x } fn main() { ...
https://man.plustar.jp/rust/example/scope/lifetime/elision.html - [similar]
クロージャ - Rust By Example 日本語版 9267
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 適切な変数にバインディングしてやるとよい let closure_annotated = |i: i32| -> i32 { i + 1 }; let closure_inferred ... n!("function: {}", function(i)); println!("closure_annotated: {}", closure_annotated(i)); println!("closure_inf ...
https://man.plustar.jp/rust/example/fn/closures.html - [similar]
Rust By Example 日本語版 8170
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ともできます。 fn main() { // Variables can be type annotated. // 変数に型を指定 let logical: bool = true; let a ... 適切な変数にバインディングしてやるとよい let closure_annotated = |i: i32| -> i32 { i + 1 }; let closure_inferred ... n!("function: {}", function(i)); println!("closure_annotated: {}", closure_annotated(i)); println!("closure_inf ...
https://man.plustar.jp/rust/example/print.html - [similar]
Option - Rust By Example 日本語版 8170
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ; // Binding `None` to a variable needs to be type annotated // `None`を変数にアサインする際は、型を明示しなくて ...
https://man.plustar.jp/rust/example/std/option.html - [similar]
基本データ型 - Rust By Example 日本語版 8042
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ともできます。 fn main() { // Variables can be type annotated. // 変数に型を指定 let logical: bool = true; let a ...
https://man.plustar.jp/rust/example/primitives.html - [similar]
ライフタイム - Rust By Example 日本語版 8042
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 異なるものであるかを見ていきます。 // Lifetimes are annotated below with lines denoting the creation // and dest ...
https://man.plustar.jp/rust/example/scope/lifetime.html - [similar]
PREV 1 NEXT