検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 193 for functions (0.028 sec.)
Diverging functions - Rust By Example 日本語版 14070
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 2.6.2. Iterator::find 9.3. 高階関数 9.4. Diverging functions 10. モジュール ❱ 10.1. プライベートとパブリック 10 ... t Coal Navy Ayu Rust By Example 日本語版 Diverging functions Diverging functions never return. They are marked ... m_odd_numbers(9)); } It is also the return type of functions that loop forever (e.g. loop {} ) like network ser ... vers or functions that terminate the process (e.g. exit() ). 関連キー ...
https://man.plustar.jp/rust/example/fn/diverging.html - [similar]
Unit testing - Rust By Example 日本語版 11429
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 2.6.2. Iterator::find 9.3. 高階関数 9.4. Diverging functions 10. モジュール ❱ 10.1. プライベートとパブリック 10 ... st By Example 日本語版 Unit testing Tests are Rust functions that verify that the non-test code is functioning ... in the expected manner. The bodies of test functions typically perform some setup, run the code we want ... a tests mod with the #[cfg(test)] attribute . Test functions are marked with the #[test] attribute. Tests fail ...
https://man.plustar.jp/rust/example/testing/unit_testing.html - [similar]
メソッド - Rust By Example 日本語版 9963
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 2.6.2. Iterator::find 9.3. 高階関数 9.4. Diverging functions 10. モジュール ❱ 10.1. プライベートとパブリック 10 ... } // Implementation block, all `Point` associated functions & methods go in here // 実装のためのブロック。`Poi ... int)に関連した関数なので関連関数 // // Associated functions don't need to be called with an instance. // These ... functions are generally used like constructors. // 関連関数は ...
https://man.plustar.jp/rust/example/fn/methods.html - [similar]
プライベートとパブリック - Rust By Example 日本語版 9963
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 2.6.2. Iterator::find 9.3. 高階関数 9.4. Diverging functions 10. モジュール ❱ 10.1. プライベートとパブリック 10 ... alled `my_mod::nested::private_function()`"); } // Functions declared using `pub(in path)` syntax are only visi ... ()`, that\n> "); public_function_in_nested(); } // Functions declared using `pub(self)` syntax are only visible ... _mod::nested::public_function_in_nested()`"); } // Functions declared using `pub(super)` syntax are only visibl ...
https://man.plustar.jp/rust/example/mod/visibility.html - [similar]
安全でない操作 - Rust By Example 日本語版 9376
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 2.6.2. Iterator::find 9.3. 高階関数 9.4. Diverging functions 10. モジュール ❱ 10.1. プライベートとパブリック 10 ... ースがあります。 生ポインタのデリファレンス calling functions or methods which are unsafe (including calling a f ... unsafe { assert!(*raw_p == 10); } } Calling Unsafe Functions Some functions can be declared as unsafe , meaning ...
https://man.plustar.jp/rust/example/unsafe.html - [similar]
Returning Traits with dyn - Rust By Example 日本語版 8203
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 2.6.2. Iterator::find 9.3. 高階関数 9.4. Diverging functions 10. モジュール ❱ 10.1. プライベートとパブリック 10 ... nction's return type requires. This means all your functions have to return a concrete type. Unlike other langu ... Instead of returning a trait object directly, our functions return a Box which contains some Animal . A box is ...
https://man.plustar.jp/rust/example/trait/dyn.html - [similar]
クロージャ - Rust By Example 日本語版 7909
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 2.6.2. Iterator::find 9.3. 高階関数 9.4. Diverging functions 10. モジュール ❱ 10.1. プライベートとパブリック 10 ... できます。 fn main() { // Increment via closures and functions. // 関数とクロージャのそれぞれで数値をインクリメン ... as are the `{}` wrapping the body. These nameless functions // are assigned to appropriately named variables. ...
https://man.plustar.jp/rust/example/fn/closures.html - [similar]
Rust By Example 日本語版 7909
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 2.6.2. Iterator::find 9.3. 高階関数 9.4. Diverging functions 10. モジュール ❱ 10.1. プライベートとパブリック 10 ... urn`キーワードは必要ではない。 lhs % rhs == 0 } // Functions that "don't" return a value, actually return the u ... } // Implementation block, all `Point` associated functions & methods go in here // 実装のためのブロック。`Poi ... int)に関連した関数なので関連関数 // // Associated functions don't need to be called with an instance. // These ...
https://man.plustar.jp/rust/example/print.html - [similar]
関数 - Rust By Example 日本語版 7616
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 2.6.2. Iterator::find 9.3. 高階関数 9.4. Diverging functions 10. モジュール ❱ 10.1. プライベートとパブリック 10 ... `SGen`. // ジェネリック型`SGen`. // The following functions all take ownership of the variable passed into // ... : SGen<T>) {} fn main() { // Using the non-generic functions // ジェネリックでない関数を使用する reg_fn(S(A)); ...
https://man.plustar.jp/rust/example/generics/gen_fn.html - [similar]
Traits - Rust By Example 日本語版 7029
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 2.6.2. Iterator::find 9.3. 高階関数 9.4. Diverging functions 10. モジュール ❱ 10.1. プライベートとパブリック 10 ... ifetimes in trait methods basically are similar to functions. Note that impl may have annotation of lifetimes t ...
https://man.plustar.jp/rust/example/scope/lifetime/trait.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 NEXT