検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 193 for Unit (0.003 sec.)
クローン - Rust By Example 日本語版 16645
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... .8. 他言語関数インターフェイス 21. Testing ❱ 21.1. Unit testing 21.2. Documentation testing 21.3. Integrat ... トレイトで定義されている .clone() を用います。 // A unit struct without resources // いかなる資源も持たない ... 構造体 #[derive(Debug, Clone, Copy)] struct Unit; // A tuple struct with resources that implements ... r(Box<i32>, Box<i32>); fn main() { // Instantiate `Unit` // `Unit`のインスタンスを作成 let unit = Unit; // ...
https://man.plustar.jp/rust/example/trait/clone.html - [similar]
テストケース: 単位を扱う - Rust By Example 日本語版 13700
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... .8. 他言語関数インターフェイス 21. Testing ❱ 21.1. Unit testing 21.2. Documentation testing 21.3. Integrat ... hantomData; /// Create void enumerations to define unit types. /// 単位を定義するため、空の列挙型を作成。 ... // `Length` is a type with phantom type parameter `Unit`, /// and is not generic over the length type (tha ... t is `f64`). /// `Length`は`Unit`という幽霊型パラメータを持つ型 /// /// `f64` alrea ...
https://man.plustar.jp/rust/example/generics/phantom/testcase_units.html - [similar]
構造体 - Rust By Example 日本語版 8550
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... .8. 他言語関数インターフェイス 21. Testing ❱ 21.1. Unit testing 21.2. Documentation testing 21.3. Integrat ... a defines a lifetime name: String, age: u8, } // A unit struct // ユニット struct Unit; // A tuple struct ... }, bottom_right: bottom_right, }; // Instantiate a unit struct // ユニットをインスタンス化 let _unit = Uni ...
https://man.plustar.jp/rust/example/custom_types/structs.html - [similar]
Unit testing - Rust By Example 日本語版 8409
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... .8. 他言語関数インターフェイス 21. Testing ❱ 21.1. Unit testing 21.2. Documentation testing 21.3. Integrat ... fault) Rust Coal Navy Ayu Rust By Example 日本語版 Unit testing Tests are Rust functions that verify that ... ssert whether the results are what we expect. Most unit tests go into a tests mod with the #[cfg(test)] at ... d; 0 filtered out Tests and ? None of the previous unit test examples had a return type. But in Rust 2018, ...
https://man.plustar.jp/rust/example/testing/unit_testing.html - [similar]
変数束縛 - Rust By Example 日本語版 7518
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... .8. 他言語関数インターフェイス 21. Testing ❱ 21.1. Unit testing 21.2. Documentation testing 21.3. Integrat ... { let an_integer = 1u32; let a_boolean = true; let unit = (); // copy `an_integer` into `copied_integer` / ... ("A boolean: {:?}", a_boolean); println!("Meet the unit value: {:?}", unit); // The compiler warns about u ...
https://man.plustar.jp/rust/example/variable_bindings.html - [similar]
Rust By Example 日本語版 6790
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... .8. 他言語関数インターフェイス 21. Testing ❱ 21.1. Unit testing 21.2. Documentation testing 21.3. Integrat ... 行してみてください // println!("Hello, world!"); // Run it. See? Now try deleting the two slashes, and run i ... a defines a lifetime name: String, age: u8, } // A unit struct // ユニット struct Unit; // A tuple struct ... }, bottom_right: bottom_right, }; // Instantiate a unit struct // ユニットをインスタンス化 let _unit = Uni ...
https://man.plustar.jp/rust/example/print.html - [similar]
関数 - Rust By Example 日本語版 6051
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... .8. 他言語関数インターフェイス 21. Testing ❱ 21.1. Unit testing 21.2. Documentation testing 21.3. Integrat ... s that "don't" return a value, actually return the unit type `()` // 値を「返さない」関数、実際にはユニット ...
https://man.plustar.jp/rust/example/fn.html - [similar]
Integration testing - Rust By Example 日本語版 6051
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... .8. 他言語関数インターフェイス 21. Testing ❱ 21.1. Unit testing 21.2. Documentation testing 21.3. Integrat ... y Ayu Rust By Example 日本語版 Integration testing Unit tests are testing one module in isolation at a tim ...
https://man.plustar.jp/rust/example/testing/integration_testing.html - [similar]
エイリアス - Rust By Example 日本語版 6051
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... .8. 他言語関数インターフェイス 21. Testing ❱ 21.1. Unit testing 21.2. Documentation testing 21.3. Integrat ... からです。 println!("{} nanoseconds + {} inches = {} unit?", nanoseconds, inches, nanoseconds + inches); } こ ...
https://man.plustar.jp/rust/example/types/alias.html - [similar]
Tests - Rust By Example 日本語版 5899
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... .8. 他言語関数インターフェイス 21. Testing ❱ 21.1. Unit testing 21.2. Documentation testing 21.3. Integrat ... elaborates on the three different testing styles: Unit , Doc , and Integration . cargo は、全てのテストを ...
https://man.plustar.jp/rust/example/cargo/test.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 NEXT