検索

phrase: max: clip:
target: order:
Results of 1 - 8 of about 8 for optional (0.018 sec.)
while let - Rust By Example 日本語版 13573
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... てください。 #![allow(unused)] fn main() { // Make `optional` of type `Option<i32>` // `Option<i32>`の`optional ... `を作成 let mut optional = Some(0); // Repeatedly try this test. // 変数の照 ... 合を繰り返し行う。 loop { match optional { // If `optional` destructures, evaluate the bloc ... k. // もし`optional`のデストラクトに成功した場合、値に応じて処理を分岐 ...
https://man.plustar.jp/rust/example/flow_control/while_let.html - [similar]
Rust By Example 日本語版 9579
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 自由に変換することができます。 // There are various optional patterns this works with. Positional // arguments ... す。例えば... #![allow(unused)] fn main() { // Make `optional` of type `Option<i32>` // `optional`という変数の型 ... を`Option<i32>`に指定 let optional = Some(7); match optional { Some(i) => { println!( ... てください。 #![allow(unused)] fn main() { // Make `optional` of type `Option<i32>` // `Option<i32>`の`optional ...
https://man.plustar.jp/rust/example/print.html - [similar]
if let - Rust By Example 日本語版 8838
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... す。例えば... #![allow(unused)] fn main() { // Make `optional` of type `Option<i32>` // `optional`という変数の型 ... を`Option<i32>`に指定 let optional = Some(7); match optional { Some(i) => { println!( ...
https://man.plustar.jp/rust/example/flow_control/if_let.html - [similar]
Option - Rust By Example 日本語版 8639
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 2> = None; let _equivalent_none = None::<i32>; let optional_float = Some(0f32); // Unwrapping a `Some` variant ... の値を取得できる。 println!("{:?} unwraps to {:?}", optional_float, optional_float.unwrap()); // Unwrapping a ` ...
https://man.plustar.jp/rust/example/std/option.html - [similar]
read lines - Rust By Example 日本語版 7952
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... "./hosts") { // Consumes the iterator, returns an (Optional) String for line in lines { if let Ok(ip) = line { ...
https://man.plustar.jp/rust/example/std_misc/file/read_lines.html - [similar]
クロージャ - Rust By Example 日本語版 7880
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... otation is identical to function annotation but is optional // as are the `{}` wrapping the body. These namele ...
https://man.plustar.jp/rust/example/fn/closures.html - [similar]
フォーマットしてプリント - Rust By Example 日本語版 7880
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 自由に変換することができます。 // There are various optional patterns this works with. Positional // arguments ...
https://man.plustar.jp/rust/example/hello/print.html - [similar]
Unit testing - Rust By Example 日本語版 7880
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... attribute #[should_panic] . This attribute accepts optional parameter expected = with the text of the panic me ...
https://man.plustar.jp/rust/example/testing/unit_testing.html - [similar]
PREV 1 NEXT