検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 193 for 使用 (0.025 sec.)
Rust By Example 日本語版 16547
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/print.html - [similar]
関連型 - Rust By Example 日本語版 9028
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 ... l Navy Ayu Rust By Example 日本語版 関連型 関連型を使用すると、コンテナ型の中の要素をトレイトの中に 出力型 ... いてトレイト内で宣言されている。 // (注意: この文脈で使用する`type`は型エイリアスを宣言する際の`type`とは // ... es generically. // これらの新しい型をジェネリックに使用するために、構文が // アップデートされています。 fn ...
https://man.plustar.jp/rust/example/generics/assoc_items/types.html - [similar]
ジェネリクス - Rust By Example 日本語版 8920
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 ... タに指定されているので、この場所で (arg: T) のように使用するとジェネリック型として扱われます。これは T という ... ed as above. // `Single`という型を定義する際に`A`を使用しているが、その最初の使用よりも // 先に`<A>`がないた ... e of the type `A`. // ^ Singleによる`A`の一番最初の使用はここ // Here, `<T>` precedes the first use of `T`, ...
https://man.plustar.jp/rust/example/generics.html - [similar]
ディスプレイ - Rust By Example 日本語版 8126
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 ... カスタマイズしたほうが好ましいでしょう。これは {} を使用する fmt::Display を手動で実装することで可能です。 # ... the `fmt` module to make it available. // (`use`を使用し、)`fmt`モジュールをインポートします。 use std::f ... // manually for the type. // `{}` というマーカーを使用するためには、 // この型専用の`fmt::Display`というト ...
https://man.plustar.jp/rust/example/hello/print/print_display.html - [similar]
リテラルとオペレータ - Rust By Example 日本語版 7670
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 ... abc" 、ブーリアン true 、ユニット () は、リテラルを使用することで明示することが可能です。 また整数型の場合、 ... 1 とそれぞれ同一です。 コンパイラに、どのリテラルを使用するのかを教えてあげなくてはなりません。現在の仕様で ... サフィックスを、符号付き32ビット整数であれば i32 を使用します。 Rustで使用可能な演算子と、 その実行順序 は、 ...
https://man.plustar.jp/rust/example/primitives/literals.html - [similar]
エイリアス - Rust By Example 日本語版 7214
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 ... y Ayu Rust By Example 日本語版 エイリアス type 文を使用することで既存の型に新しい名前( alias )を付けることが ... ame for `u64`. // `NanoSecond` を `u64`の別名として使用する。 type NanoSecond = u64; type Inch = u64; // Us ... to silence warning. // 警告を抑えるアトリビュートを使用。 #[allow(non_camel_case_types)] type u64_t = u64; ...
https://man.plustar.jp/rust/example/types/alias.html - [similar]
識別子 - Rust By Example 日本語版 7094
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 ... nt_result!({ let x = 1u32; x * x + 2 * x - 1 }); } 使用できる識別子には以下のようなものがあります。 block e ... xpr 式に使用 ident 関数、変数の名前に使用 item literal はリテラ ... 注:文字だけではない。 Literal expressions を参照)に使用 pat ( パターン ) path stmt ( 宣言 ) tt ( トークンツ ...
https://man.plustar.jp/rust/example/macros/designators.html - [similar]
リテラル - Rust By Example 日本語版 7094
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 ... を指定しない数値型リテラルの場合、その型はどのように使用されるかに依存して決められます。デフォルトでは整数型 ... の場合 i32 が、浮動小数点型は f64 を使用します。 fn main() { // Suffixed literals, their typ ... are used // サフィックスを指定しないリテラル。型は使用方法に依存する。 let i = 1; let f = 1.0; // `size_of ...
https://man.plustar.jp/rust/example/types/literals.html - [similar]
Combinators: map - Rust By Example 日本語版 6986
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 ... を扱うのに適したメソッドです。しかし、大量にこれを使用しているとじきに億劫になってくるでしょう。引数の値が ... いうビルトインのメソッドを提供していますので、これを使用しましょう。 map() のフレキシビリティは、複数の map( ... // 上のチェックと同様だが`match`の代わりに`map()`を使用している。 fn cook(chopped: Option<Chopped>) -> Opti ...
https://man.plustar.jp/rust/example/error/option_unwrap/map.html - [similar]
ポインタとref - Rust By Example 日本語版 6986
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 ... the `&`, you dereference before matching. // `&`を使用したくない場合は、マッチングの前にデリファレンスする ... ef mut`. // 同様にミュータブルな値の場合`ref mut`を使用することでリファレンスを // 取得できます。イミュータ ... Use `ref` keyword to create a reference. // `ref`を使用してリファレンスを作成。 match value { ref r => prin ...
https://man.plustar.jp/rust/example/flow_control/match/destructuring/destructure... - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 NEXT