検索
Results of 1 - 10 of about 193 for ラップ (0.026 sec.)
- エラーをラップする - Rust By Example 日本語版 14222
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ラーをBoxする 18.4.4. ?の他の活用法 18.4.5. エラーをラップする 18.5. Resultをイテレートする 19. 標準ライブラリ...
ust Coal Navy Ayu Rust By Example 日本語版 エラーをラップする Boxする方法の代替として、エラーを自前のエラー型...
としてラップする方法もあります。 use std::error; use std::error:...
the underlying types' implementation of `fmt`. // ラップされたエラーは追加情報を含み、source メソッドから取り...
- https://man.plustar.jp/rust/example/error/multiple_error_types/wrap_error.html - [similar]
- Option - Rust By Example 日本語版 12592
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ラーをBoxする 18.4.4. ?の他の活用法 18.4.5. エラーをラップする 18.5. Resultをイテレートする 19. 標準ライブラリ...
か値の欠如を示します。 Some(value) 、型 T の value をラップするタプルです。 // An integer division that doesn't...
lt is wrapped in a `Some` variant // 結果は`Some`にラップされる。 Some(dividend / divisor) } } // This functi...
ant will extract the value wrapped. // `Some`をアンラップすると中の値を取得できる。 println!("{:?} unwraps to...
- https://man.plustar.jp/rust/example/std/option.html - [similar]
- Result - Rust By Example 日本語版 12223
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ラーをBoxする 18.4.4. ?の他の活用法 18.4.5. エラーをラップする 18.5. Resultをイテレートする 19. 標準ライブラリ...
オペレーションが成功したことを意味し、返り値 value をラップします。( value は型 T を持ちます。) Err(why) ......
これはオペレーションの失敗を意味します。 why をラップしており、ここには失敗した理由が(必ずではありません...
レーションは普通に行えば失敗する。 // 代わりに`Err`でラップされた失敗の理由を返そう。 Err(MathError::DivisionBy...
- https://man.plustar.jp/rust/example/std/result.html - [similar]
- ハッシュマップ - Rust By Example 日本語版 8594
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ラーをBoxする 18.4.4. ?の他の活用法 18.4.5. エラーをラップする 18.5. Resultをイテレートする 19. 標準ライブラリ...
- https://man.plustar.jp/rust/example/std/hash.html - [similar]
- イテレータ - Rust By Example 日本語版 8235
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ラーをBoxする 18.4.4. ?の他の活用法 18.4.5. エラーをラップする 18.5. Resultをイテレートする 19. 標準ライブラリ...
了した時は`None`を返し、 // * そうでなければ`Some`でラップされた値を返す。 fn next(&mut self) -> Option<Self::...
で、イテレータを舐めていき、出てきた`Some`を // アンラップして変数(ここでは`i`)に束縛する。 println!("Iterat...
- https://man.plustar.jp/rust/example/trait/iter.html - [similar]
- Resultをイテレートする - Rust By Example 日本語版 6779
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ラーをBoxする 18.4.4. ?の他の活用法 18.4.5. エラーをラップする 18.5. Resultをイテレートする 19. 標準ライブラリ...
}", errors); } 結果を見てみると、まだ全て Result にラップされていることに気づくでしょう。もう少しのボイラープ...
- https://man.plustar.jp/rust/example/error/iter_result.html - [similar]
- Combinators: and_then - Rust By Example 日本語版 6779
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ラーをBoxする 18.4.4. ?の他の活用法 18.4.5. エラーをラップする 18.5. Resultをイテレートする 19. 標準ライブラリ...
もあります。 and_then() は引数として与えられた関数にラップされた値を渡しますが、その値が None だった場合は Non...
- https://man.plustar.jp/rust/example/error/option_unwrap/and_then.html - [similar]
- コメント - Rust By Example 日本語版 6779
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ラーをBoxする 18.4.4. ?の他の活用法 18.4.5. エラーをラップする 18.5. Resultをイテレートする 19. 標準ライブラリ...
- https://man.plustar.jp/rust/example/hello/comment.html - [similar]
- パイプ - Rust By Example 日本語版 6779
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ラーをBoxする 18.4.4. ?の他の活用法 18.4.5. エラーをラップする 18.5. Resultをイテレートする 19. 標準ライブラリ...
tdout`フィールドも`Option<ChildStdout>`型なのでアンラップする必要がある let mut s = String::new(); match proc...
- https://man.plustar.jp/rust/example/std_misc/process/pipe.html - [similar]
- クローン - Rust By Example 日本語版 6779
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ラーをBoxする 18.4.4. ?の他の活用法 18.4.5. エラーをラップする 18.5. Resultをイテレートする 19. 標準ライブラリ...
- https://man.plustar.jp/rust/example/trait/clone.html - [similar]