検索

phrase: max: clip:
target: order:
Results of 1 - 4 of about 4 for resources (0.012 sec.)
クローン - Rust By Example 日本語版 12389
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... いる .clone() を用います。 // A unit struct without resources // いかなる資源も持たない構造体 #[derive(Debug, Cl ... one, Copy)] struct Unit; // A tuple struct with resources that implements the `Clone` trait // `Clone`トレイ ... を作成 let unit = Unit; // Copy `Unit`, there are no resources to move // `Unit`をコピー、移動させる資源は存在しな ... }", pair); // Move `pair` into `moved_pair`, moves resources // `pair`を`moved_pair`に移動、資源は移動(`move`)す ...
https://man.plustar.jp/rust/example/trait/clone.html - [similar]
メソッド - Rust By Example 日本語版 8654
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... self.p1.y += y; self.p2.y += y; } } // `Pair` owns resources: two heap allocated integers // `Pair`はヒープ上の ... x<i32>); impl Pair { // This method "consumes" the resources of the caller object // `self` desugars to `self: ...
https://man.plustar.jp/rust/example/fn/methods.html - [similar]
所有権とムーブ - Rust By Example 日本語版 8081
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... かれた整数 let x = 5u32; // *Copy* `x` into `y` - no resources are moved // `x`を`y`に *コピー* する。元の値が移動 ...
https://man.plustar.jp/rust/example/scope/move.html - [similar]
Rust By Example 日本語版 7803
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... self.p1.y += y; self.p2.y += y; } } // `Pair` owns resources: two heap allocated integers // `Pair`はヒープ上の ... x<i32>); impl Pair { // This method "consumes" the resources of the caller object // `self` desugars to `self: ...
https://man.plustar.jp/rust/example/print.html - [similar]
PREV 1 NEXT