検索
Results of 11 - 20 of about 193 for 使用 (0.287 sec.)
- stdにおける使用例 - Rust By Example 日本語版 6866
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
る関数 9.2.5. クロージャを返す関数 9.2.6. stdにおける使用例 ❱ 9.2.6.1. Iterator::any 9.2.6.2. Iterator::find...
Coal Navy Ayu Rust By Example 日本語版 std における使用例 この節では std ライブラリを用いて、クロージャの利...
幾つかお見せします。 関連キーワード: 関数 , Result , 使用 , Rust , By , Example , 例 , エラー , Option , テス...
- https://man.plustar.jp/rust/example/fn/closures/closure_examples.html - [similar]
- クレート - Rust By Example 日本語版 6638
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
る関数 9.2.5. クロージャを返す関数 9.2.6. stdにおける使用例 ❱ 9.2.6.1. Iterator::any 9.2.6.2. Iterator::find...
れにコンパイルされるべきかをコンパイラに伝えるために使用します。ライブラリの場合は、どのタイプのライブラリで...
できます。 crate_name はクレートの名前を決定するのに使用します。 However, it is important to note that both...
; private_function(); } crate_type アトリビュートが使用されているときは、 rustc に --crate-type フラグを伝え...
- https://man.plustar.jp/rust/example/attribute/crate.html - [similar]
- use - Rust By Example 日本語版 6638
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
る関数 9.2.5. クロージャを返す関数 9.2.6. stdにおける使用例 ❱ 9.2.6.1. Iterator::any 9.2.6.2. Iterator::find...
t Coal Navy Ayu Rust By Example 日本語版 use use を使用すれば変数のスコープを絶対名で指定する必要がなくなる...
An attribute to hide warnings for unused code. // 使用されていないコードよる警告を隠すアトリビュート #![al...
vailable without // `use`することで絶対名でなくとも使用可能になる。 // manual scoping. use crate::Status::{...
- https://man.plustar.jp/rust/example/custom_types/enum/enum_use.html - [similar]
- バインディング - Rust By Example 日本語版 6638
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
る関数 9.2.5. クロージャを返す関数 9.2.6. stdにおける使用例 ❱ 9.2.6.1. Iterator::any 9.2.6.2. Iterator::find...
とめてマッチ対象とした場合、そのうちの一つを分岐先で使用することはそのままでは不可能です。 match 内では @ マ...
ークを使用して変数をバインディングすることができます。 // A fu...
// マッチした値を`n`にバインディングすることで値を使用できる。 n @ 1 ..= 12 => println!("I'm a child of ag...
- https://man.plustar.jp/rust/example/flow_control/match/binding.html - [similar]
- テストケース: リスト - Rust By Example 日本語版 6529
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
る関数 9.2.5. クロージャを返す関数 9.2.6. stdにおける使用例 ❱ 9.2.6.1. Iterator::any 9.2.6.2. Iterator::find...
を書かなくてはなりません。このような場合は ? 演算子を使用するのが適当です。 以下のように ? を write! に対して...
looks like this: try!(write!(f, "{}", value)); ? を使用できれば、 Vec 用の fmt::Display はより簡単に実装でき...
- https://man.plustar.jp/rust/example/hello/print/print_display/testcase_list.html - [similar]
- ファイルの階層構造 - Rust By Example 日本語版 6529
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
る関数 9.2.5. クロージャを返す関数 9.2.6. stdにおける使用例 ❱ 9.2.6.1. Iterator::any 9.2.6.2. Iterator::find...
探し、 // その内容をこのファイル中で`my`という名から使用することができるようにします。 mod my; fn function()...
って、`nested.rs`、`inaccessible.rs`の内容をこの中で使用することができるようになる。 // 訳注: `pub`をつけない...
かぎり、この中でしか使用できない。 mod inaccessible; pub mod nested; pub fn...
- https://man.plustar.jp/rust/example/mod/split.html - [similar]
- 列挙型 - Rust By Example 日本語版 6410
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
る関数 9.2.5. クロージャを返す関数 9.2.6. stdにおける使用例 ❱ 9.2.6.1. Iterator::any 9.2.6.2. Iterator::find...
はいくつかの異なる要素型の中から1つを選ぶような場合に使用します。構造体( struct )の定義を満たすものならば何で...
も enum の要素型として使用できます。 // Create an `enum` to classify a web eve...
よく見られるのは、 impl ブロックで Self という別名を使用する場合です。 enum VeryVerboseEnumOfThingsToDoWithN...
- https://man.plustar.jp/rust/example/custom_types/enum.html - [similar]
- 関連型が必要になる状況 - Rust By Example 日本語版 6410
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
る関数 9.2.5. クロージャを返す関数 9.2.6. stdにおける使用例 ❱ 9.2.6.1. Iterator::any 9.2.6.2. Iterator::find...
ジェネリックなトレイトを実装した場合、そのトレイトを使用する者は全てのジェネリック型を明記 しなくてはなりませ...
の例では Contains トレイトはジェネリック型 A と B の使用を許しています。その後、 Container 型に対して Contai...
s を実装していますが、その際後に fn difference() が使用できるように、 A 、 B はそれぞれ i32 と明記されていま...
- https://man.plustar.jp/rust/example/generics/assoc_items/the_problem.html - [similar]
- フォーマットしてプリント - Rust By Example 日本語版 6301
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
る関数 9.2.5. クロージャを返す関数 9.2.6. stdにおける使用例 ❱ 9.2.6.1. Iterator::any 9.2.6.2. Iterator::find...
下の2つです。 fmt::Debug : は、 {:?} というマーカーを使用し、デバッギング目的に使われます。 fmt::Display : は...
{} というマーカーを使用し、より美しく、ユーザフレンドリーに表示します。 この...
イブラリに含まれているため、ここでは fmt::Display を使用しています。カスタム型をテキストとして表示する場合は...
- https://man.plustar.jp/rust/example/hello/print.html - [similar]
- 明示的アノテーション - Rust By Example 日本語版 6301
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
る関数 9.2.5. クロージャを返す関数 9.2.6. stdにおける使用例 ❱ 9.2.6.1. Iterator::any 9.2.6.2. Iterator::find...
の間有効かを決定するために、明示的なアノテーションを使用します。ライフタイムが省略 1 されなかった場合、Rustは...
メータを持ちます。 クロージャ と同様、ライフタイムの使用はジェネリクスを必要とします。もう少し詳しく言うと、...
ライフタイムは`y`のそれよりも短いため、関数内で`'a`を使用して // 変数のライフタイムを指定しようとすると失敗す...
- https://man.plustar.jp/rust/example/scope/lifetime/explicit.html - [similar]