検索

phrase: max: clip:
target: order:
Results of 1 - 8 of about 8 for next (0.018 sec.)
イテレータ - Rust By Example 日本語版 13555
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... レータを実装するためのトレイトです。 このトレイトは next の要素に相当するものを決定するためのメソッドのみを ... ドを呼び出しています。 struct Fibonacci { curr: u32, next: u32, } // Implement `Iterator` for `Fibonacci`. / ... rait only requires a method to be defined for the `next` element. // `Iterator`を`Fibonacci`に対して実装す ... る。 // `Iterator`トレイトは次(`next`)の要素を取得するメソッドの定義だけを要求する。 im ...
https://man.plustar.jp/rust/example/trait/iter.html - [similar]
?によるOptionのアンパック - Rust By Example 日本語版 9489
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ければ実行中の関数を終了させ、 None を返します。 fn next_birthday(current_age: Option<u8>) -> Option<String ... t_age` is `Some`, the inner `u8` gets assigned to `next_age` // `current_age`が`None`の場合、`None`を返す。 ... // `current_age`が`Some`の場合、内部の`u8`型の値が`next_age`に代入される。 let next_age: u8 = current_age? ... ; Some(format!("Next year I will be {}", next_age)) } 多くの ? を共に使 ...
https://man.plustar.jp/rust/example/error/option_unwrap/question_mark.html - [similar]
impl Trait - Rust By Example 日本語版 9127
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... v3 = combine_vecs(v1, v2); assert_eq!(Some(1), v3.next()); assert_eq!(Some(2), v3.next()); assert_eq!(Som ... e(3), v3.next()); assert_eq!(Some(4), v3.next()); assert_eq!(Som ... e(5), v3.next()); println!("all done"); } More importantly, some ...
https://man.plustar.jp/rust/example/trait/impl_trait.html - [similar]
Documentation testing - Rust By Example 日本語版 8260
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... s a short summary describing function. /// /// The next lines present detailed documentation. Code blocks ... s "Examples", "Panics" and "Failures". /// /// The next function divides two numbers. /// /// # Examples / ...
https://man.plustar.jp/rust/example/testing/doc_testing.html - [similar]
Playpen - Rust By Example 日本語版 8025
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... playground_url . See also: The Rust Playground The next-gen playpen The rustdoc Book 関連キーワード: Playp ...
https://man.plustar.jp/rust/example/meta/playpen.html - [similar]
Integration testing - Rust By Example 日本語版 8025
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... rgo looks for integration tests in tests directory next to src . File src/lib.rs : // Define this in a cra ...
https://man.plustar.jp/rust/example/testing/integration_testing.html - [similar]
テストケース: 連結リスト - Rust By Example 日本語版 7952
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... struct that wraps an element and a pointer to the next node // Cons: これは、要素をラップし、次の要素への ...
https://man.plustar.jp/rust/example/custom_types/enum/testcase_linked_list.html - [similar]
Rust By Example 日本語版 7772
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... struct that wraps an element and a pointer to the next node // Cons: これは、要素をラップし、次の要素への ...
https://man.plustar.jp/rust/example/print.html - [similar]
PREV 1 NEXT