検索
Results of 21 - 30 of about 39 for have (0.006 sec.)
- use宣言 - Rust By Example 日本語版 7330
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
y::nested::function; function(); // `use` bindings have a local scope. In this case, the // shadowing of `...
- https://man.plustar.jp/rust/example/mod/use.html - [similar]
- Traits - Rust By Example 日本語版 7330
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
cally are similar to functions. Note that impl may have annotation of lifetimes too. // A struct with anno...
- https://man.plustar.jp/rust/example/scope/lifetime/trait.html - [similar]
- Dev-dependencies - Rust By Example 日本語版 7330
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
elopment dependencies Sometimes there is a need to have dependencies for tests (or examples, or benchmarks...
- https://man.plustar.jp/rust/example/testing/dev_dependencies.html - [similar]
- Integration testing - Rust By Example 日本語版 7330
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
adder`. // Assume that crate is called adder, will have to extern it in integration test. pub fn add(a: i3...
- https://man.plustar.jp/rust/example/testing/integration_testing.html - [similar]
- Supertraits - Rust By Example 日本語版 7330
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
Rust By Example 日本語版 Supertraits Rust doesn't have "inheritance", but you can define a trait as being...
- https://man.plustar.jp/rust/example/trait/supertraits.html - [similar]
- if let - Rust By Example 日本語版 7095
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
処理も柔軟に行うことができます。 fn main() { // All have type `Option<i32>` // 全て`Option<i32>`型 let numb...
- https://man.plustar.jp/rust/example/flow_control/if_let.html - [similar]
- while let - Rust By Example 日本語版 7095
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
`else`/`else if` // clauses. `while let` does not have these. // ^ `if let`の場合は`else`/`else if`句が一...
- https://man.plustar.jp/rust/example/flow_control/while_let.html - [similar]
- テストケース: 単位を扱う - Rust By Example 日本語版 7095
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
omData) } } fn main() { // Specifies `one_foot` to have phantom type parameter `Inch`. // `one_foot`が幽霊...
- https://man.plustar.jp/rust/example/generics/phantom/testcase_units.html - [similar]
- ジェネリクス - Rust By Example 日本語版 7095
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
en<char> = SingleGen('a'); // `SingleGen` can also have a type parameter implicitly specified: // `SingleG...
- https://man.plustar.jp/rust/example/generics.html - [similar]
- プライベートとパブリック - Rust By Example 日本語版 7095
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
// Modules allow disambiguation between items that have the same name. // モジュールによって、同名の関数を...
- https://man.plustar.jp/rust/example/mod/visibility.html - [similar]