検索
Results of 61 - 70 of about 193 for use (0.061 sec.)
- Disambiguating overlapping traits - Rust By Example 日本語版 5432
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ス 3. カスタム型 ❱ 3.1. 構造体 3.2. 列挙型 ❱ 3.2.1. use 3.2.2. C言語ライクな列挙型 3.2.3. テストケース: 連...
プライベートとパブリック 10.2. 構造体の場合 10.3. use宣言 10.4. super と self 10.5. ファイルの階層構造 11...
t even have different return types! Good news: because each trait implementation gets its own impl block,...
methods? To disambiguate between them, we have to use Fully Qualified Syntax. trait UsernameWidget { //...
- https://man.plustar.jp/rust/example/trait/disambiguating.html - [similar]
- エイリアス - Rust By Example 日本語版 5432
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ス 3. カスタム型 ❱ 3.1. 構造体 3.2. 列挙型 ❱ 3.2.1. use 3.2.2. C言語ライクな列挙型 3.2.3. テストケース: 連...
プライベートとパブリック 10.2. 構造体の場合 10.3. use宣言 10.4. super と self 10.5. ファイルの階層構造 11...
用する。 type NanoSecond = u64; type Inch = u64; // Use an attribute to silence warning. // 警告を抑えるア...
aliases *don't* provide any extra type safety, because // aliases are *not* new types // 型のエイリアスは...
- https://man.plustar.jp/rust/example/types/alias.html - [similar]
- 宣言 - Rust By Example 日本語版 5432
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ス 3. カスタム型 ❱ 3.1. 構造体 3.2. 列挙型 ❱ 3.2.1. use 3.2.2. C言語ライクな列挙型 3.2.3. テストケース: 連...
プライベートとパブリック 10.2. 構造体の場合 10.3. use宣言 10.4. super と self 10.5. ファイルの階層構造 11...
g: {}", a_binding); let another_binding; // Error! Use of uninitialized binding // エラー! 初期化していな...
- https://man.plustar.jp/rust/example/variable_bindings/declare.html - [similar]
- Result - Rust By Example 日本語版 5323
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ス 3. カスタム型 ❱ 3.1. 構造体 3.2. 列挙型 ❱ 3.2.1. use 3.2.2. C言語ライクな列挙型 3.2.3. テストケース: 連...
プライベートとパブリック 10.2. 構造体の場合 10.3. use宣言 10.4. super と self 10.5. ファイルの階層構造 11...
示し、 この先の節 でカバーする内容に触れていきます。 use std::num::ParseIntError; fn main() -> Result<(), P...
- https://man.plustar.jp/rust/example/error/result.html - [similar]
- 幽霊型パラメータ - Rust By Example 日本語版 5323
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ス 3. カスタム型 ❱ 3.1. 構造体 3.2. 列挙型 ❱ 3.2.1. use 3.2.2. C言語ライクな列挙型 3.2.3. テストケース: 連...
プライベートとパブリック 10.2. 構造体の場合 10.3. use宣言 10.4. super と self 10.5. ファイルの階層構造 11...
い、それぞれ異なった型の値を持つタプルを作成します。 use std::marker::PhantomData; // A phantom tuple struc...
`A`, but not for `B`. // Therefore, `B` cannot be used in computations. // 注意点: ジェネリック型Aに対し...
- https://man.plustar.jp/rust/example/generics/phantom.html - [similar]
- 配列とスライス - Rust By Example 日本語版 5323
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ス 3. カスタム型 ❱ 3.1. 構造体 3.2. 列挙型 ❱ 3.2.1. use 3.2.2. C言語ライクな列挙型 3.2.3. テストケース: 連...
プライベートとパブリック 10.2. 構造体の場合 10.3. use宣言 10.4. super と self 10.5. ファイルの階層構造 11...
るのに使用され、 &[T] という型シグネチャを持ちます。 use std::mem; // This function borrows a slice // この...
yze_slice(&ys[1 .. 4]); // Out of bound indexing causes compile error // インデックスが範囲外のときはコン...
- https://man.plustar.jp/rust/example/primitives/array.html - [similar]
- リテラルとオペレータ - Rust By Example 日本語版 5323
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ス 3. カスタム型 ❱ 3.1. 構造体 3.2. 列挙型 ❱ 3.2.1. use 3.2.2. C言語ライクな列挙型 3.2.3. テストケース: 連...
プライベートとパブリック 10.2. 構造体の場合 10.3. use宣言 10.4. super と self 10.5. ファイルの階層構造 11...
println!("0x80 >> 2 is 0x{:x}", 0x80u32 >> 2); // Use underscores to improve readability! // 可読性のため...
- https://man.plustar.jp/rust/example/primitives/literals.html - [similar]
- ライフタイム境界 - Rust By Example 日本語版 5323
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ス 3. カスタム型 ❱ 3.1. 構造体 3.2. 列挙型 ❱ 3.2.1. use 3.2.2. C言語ライクな列挙型 3.2.3. テストケース: 連...
プライベートとパブリック 10.2. 構造体の場合 10.3. use宣言 10.4. super と self 10.5. ファイルの階層構造 11...
ましょう。 where キーワードの後に注目してください。 use std::fmt::Debug; // Trait to bound with. // ライフ...
- https://man.plustar.jp/rust/example/scope/lifetime/lifetime_bounds.html - [similar]
- Box, スタックとヒープ - Rust By Example 日本語版 5323
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ス 3. カスタム型 ❱ 3.1. 構造体 3.2. 列挙型 ❱ 3.2.1. use 3.2.2. C言語ライクな列挙型 3.2.3. テストケース: 連...
プライベートとパブリック 10.2. 構造体の場合 10.3. use宣言 10.4. super と self 10.5. ファイルの階層構造 11...
ます。これにより一段と直接的な操作が可能になります。 use std::mem; #[allow(dead_code)] #[derive(Debug, Clon...
- https://man.plustar.jp/rust/example/std/box.html - [similar]
- key型の変種 - Rust By Example 日本語版 5323
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ス 3. カスタム型 ❱ 3.1. 構造体 3.2. 列挙型 ❱ 3.2.1. use 3.2.2. C言語ライクな列挙型 3.2.3. テストケース: 連...
プライベートとパブリック 10.2. 構造体の場合 10.3. use宣言 10.4. super と self 10.5. ファイルの階層構造 11...
プルなユーザーログインシステムを作成してみましょう。 use std::collections::HashMap; // Eq requires that you...
#[derive(PartialEq, Eq, Hash)] struct Account<'a>{ username: &'a str, password: &'a str, } struct Account...
- https://man.plustar.jp/rust/example/std/hash/alt_key_types.html - [similar]