検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 90 for 参照 (0.035 sec.)
super と self - Rust By Example 日本語版 7600
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... `function`という名の様々な関数をこのスコープ内から参照してみましょう。 print!("called `my::indirect_call() ... の別のモジュールを呼び出す際に`self`を用いて明示的に参照できる。 self::cool::function(); // The `super` keyw ... my` module). // `super`は親スコープ(`my`の外側)を参照する。 super::function(); // This will bind to the ` ...
https://man.plustar.jp/rust/example/mod/super.html - [similar]
列挙型 - Rust By Example 日本語版 7454
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... リアス 型エイリアスを用いると、列挙型の要素型を別名で参照できます。これは列挙型の名前があまりに長かったり、あ ... くて不便な列挙型の名前ではなく、別名を使って要素型を参照できる let x = Operations::Add; } このやり方がもっと ... 込まれた後に stabilization report を読んでください。 参照 マッチ( match ) , 関数( fn ) , 文字列( String ) , ...
https://man.plustar.jp/rust/example/custom_types/enum.html - [similar]
Iterator::find - Rust By Example 日本語版 7454
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ことを示します。 // `&Self::Item`はクロージャが変数を参照として取ることを示します。 P: FnMut(&Self::Item) -> ... ().find(|&&x| x == 2)); } Iterator::find は要素への参照を返します。 要素の インデックス を使用したい場合、 ... ssert_eq!(index_of_first_negative_number, None); } 参照 std::iter::Iterator::find std::iter::Iterator::fin ...
https://man.plustar.jp/rust/example/fn/closures/closure_examples/iter_find.html - [similar]
スタティックライフタイム - Rust By Example 日本語版 7454
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... coerced to that of the input argument. // `NUM`への参照を返す。ライフタイムは`'static`から引数の // ライフタ ... binary. // `static_string`がスコープから抜けると、参照は使用することが // できなくなるが、データはバイナリ ... ` 16 | } | - `i` dropped here while still borrowed 参照 'static 定数 関連キーワード: static , ライフタイム ...
https://man.plustar.jp/rust/example/scope/lifetime/static_lifetime.html - [similar]
cfg - Rust By Example 日本語版 6894
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... println!("Yes. It's definitely *not* linux!"); } } 参照 参照( reference ) , cfg! , マクロ . 関連キーワード ...
https://man.plustar.jp/rust/example/attribute/cfg.html - [similar]
関数を受け取る関数 - Rust By Example 日本語版 6894
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ているかを詳しく見たいときは Fn 、 FnMut 、 FnOnce を参照してください。 参照 Fn , FnMut , and FnOnce 関連キー ...
https://man.plustar.jp/rust/example/fn/closures/input_functions.html - [similar]
メソッド - Rust By Example 日本語版 6894
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... i32 }; println!("{}, {}", x.value(), y.value()); } 参照 参照を返す関数 , impl , struct 関連キーワード: メソ ...
https://man.plustar.jp/rust/example/generics/impl.html - [similar]
スレッド - Rust By Example 日本語版 6894
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... とができます。この関数の引数はmoveクロージャ(訳注: 参照ではなく値を取るクロージャ。 詳しくは[クロージャを返 ... す関数][fn_output]を参照)です。 use std::thread; const NTHREADS: u32 = 10; ...
https://man.plustar.jp/rust/example/std_misc/threads.html - [similar]
テストケース: 連結リスト - Rust By Example 日本語版 6747
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ので、tailの所有権を取ることができない。 // 代わりに参照を使用する。 Cons(_, ref tail) => 1 + tail.len(), // ... , list.len()); println!("{}", list.stringify()); } 参照 ボックス( Box ) , メソッド 関連キーワード: list , ...
https://man.plustar.jp/rust/example/custom_types/enum/testcase_linked_list.html - [similar]
フォーマット - Rust By Example 日本語版 6747
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 数の型については std::fmt のドキュメンテーション から参照できます。 演習 上にあるソースコード中の Color という ... で、 幅を2に指定し、空白を0で埋める事ができます。 参照 std::fmt 関連キーワード: フォーマット , fmt , lat ...
https://man.plustar.jp/rust/example/hello/print/fmt.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 NEXT