検索
Results of 41 - 50 of about 193 for new (0.060 sec.)
- 所有権とムーブ - Rust By Example 日本語版 5812
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ト 14.5. 複数のジェネリック境界 14.6. Where句 14.7. New Type Idiom 14.8. 関連型 ❱ 14.8.1. 関連型が必要にな...
// `a`は_ヒープ_上の整数へのポインタ let a = Box::new(5i32); println!("a contains: {}", a); // *Move* `a...
- https://man.plustar.jp/rust/example/scope/move.html - [similar]
- key型の変種 - Rust By Example 日本語版 5812
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ト 14.5. 複数のジェネリック境界 14.6. Where句 14.7. New Type Idiom 14.8. 関連型 ❱ 14.8.1. 関連型が必要にな...
} fn main(){ let mut accounts: Accounts = HashMap::new(); let account = Account { username: "j.everyman",...
- https://man.plustar.jp/rust/example/std/hash/alt_key_types.html - [similar]
- panic! - Rust By Example 日本語版 5812
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ト 14.5. 複数のジェネリック境界 14.6. Where句 14.7. New Type Idiom 14.8. 関連型 ❱ 14.8.1. 関連型が必要にな...
allocated integer // ヒープ上の整数 let _x = Box::new(0i32); // This operation will trigger a task failu...
- https://man.plustar.jp/rust/example/std/panic.html - [similar]
- ベクタ型 - Rust By Example 日本語版 5812
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ト 14.5. 複数のジェネリック境界 14.6. Where句 14.7. New Type Idiom 14.8. 関連型 ❱ 14.8.1. 関連型が必要にな...
]; println!("Initial vector: {:?}", xs); // Insert new element at the end of the vector // 新しい要素をベ...
- https://man.plustar.jp/rust/example/std/vec.html - [similar]
- チャネル - Rust By Example 日本語版 5812
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ト 14.5. 複数のジェネリック境界 14.6. Where句 14.7. New Type Idiom 14.8. 関連型 ❱ 14.8.1. 関連型が必要にな...
r<i32>) = mpsc::channel(); let mut children = Vec::new(); for id in 0..NTHREADS { // The sender endpoint...
- https://man.plustar.jp/rust/example/std_misc/channels.html - [similar]
- 型キャスティング - Rust By Example 日本語版 5812
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ト 14.5. 複数のジェネリック境界 14.6. Where句 14.7. New Type Idiom 14.8. 関連型 ❱ 14.8.1. 関連型が必要にな...
ded or subtracted until the value // fits into the new type // 何らかの値を符号なしの型(仮にTとする)へキ...
- https://man.plustar.jp/rust/example/types/cast.html - [similar]
- 要素の捕捉 - Rust By Example 日本語版 5617
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ト 14.5. 複数のジェネリック境界 14.6. Where句 14.7. New Type Idiom 14.8. 関連型 ❱ 14.8.1. 関連型が必要にな...
-copy type. // コピー不可能な型 let movable = Box::new(3); // `mem::drop` requires `T` so this must take...
n vec", haystack.len()); // ^ Uncommenting above line will result in compile-time error // because borrow...
ck_ is still // available and uncommenting above line will not cause an error. // クロージャのシグネチャか...
- https://man.plustar.jp/rust/example/fn/closures/capture.html - [similar]
- テストケース: 単位を扱う - Rust By Example 日本語版 5617
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ト 14.5. 複数のジェネリック境界 14.6. Where句 14.7. New Type Idiom 14.8. 関連型 ❱ 14.8.1. 関連型が必要にな...
> { type Output = Length<Unit>; // add() returns a new `Length` struct containing the sum. // add()は`Len...
- https://man.plustar.jp/rust/example/generics/phantom/testcase_units.html - [similar]
- 条件の追加 - Rust By Example 日本語版 5008
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ト 14.5. 複数のジェネリック境界 14.6. Where句 14.7. New Type Idiom 14.8. 関連型 ❱ 14.8.1. 関連型が必要にな...
- https://man.plustar.jp/rust/example/attribute/cfg/custom.html - [similar]
- cfg - Rust By Example 日本語版 5008
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
ト 14.5. 複数のジェネリック境界 14.6. Where句 14.7. New Type Idiom 14.8. 関連型 ❱ 14.8.1. 関連型が必要にな...
- https://man.plustar.jp/rust/example/attribute/cfg.html - [similar]