検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 11 for Copy (0.025 sec.)
所有権とは? - Rust 日本語版 12642
The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello, ... td::string::String`, which does not implement the `Copy` trait (注釈: ムーブが起きたのは、`s1`が`std::stri ... ng::String`という `Copy`トレイトを実装していない型だからです) 他の言語を触 ... っている間に"shallow copy"と"deep copy"という用語を耳にしたことがあるなら、 ... ンタと長さ、許容量をコピーするという概念は、shallow copyのように思えるかもしれません。 ですが、コンパイラは最 ...
https://man.plustar.jp/rust/book/ch04-01-what-is-ownership.html - [similar]
付録C:導出可能なトレイト - Rust 日本語版 11664
The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello, ... ータを格納するデータ構造です。 値を複製する Clone と Copy Clone トレイトにより値のディープコピーを明示的に行 ... される型は、 Clone を実装しなければならないのです。 Copy トレイトにより、スタックに格納されたビットをコピー ... けで値を複製できます; 任意のコードは必要ありません。 Copy について詳しくは、第4章の「スタックのみのデータ: C ... opy」を参照されたし。 Copy トレイトは、プログラマがメソッドをオーバーロードし ...
https://man.plustar.jp/rust/book/appendix-03-derivable-traits.html - [similar]
トレイト:共通の振る舞いを定義する - Rust 日本語版 10775
The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello, ... error[E0508]: cannot move out of type `[T]`, a non-copy slice (エラー[E0508]: 型`[T]`をもつ、非コピーのス ... st[_]` has type `T`, which does not implement the `Copy` trait | (ムーブが発生するのは、`list[_]`は`T`とい ... う、`Copy`トレイトを実装しない型であるためです) | help: con ... `item` has type `T`, which does not implement the `Copy` trait | |(ムーブが発生するのは、`item`は`T`という ...
https://man.plustar.jp/rust/book/ch10-02-traits.html - [similar]
状態共有並行性 - Rust 日本語版 8357
The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello, ... ::sync::Mutex<i32>`, which does not implement the `Copy` trait error[E0382]: use of moved value: `counter` ... ::sync::Mutex<i32>`, which does not implement the `Copy` trait error: aborting due to 2 previous errors (エ ... ::sync::Mutex<i32>`, which does not implement the `Copy` trait error[E0382]: use of moved value: `counter` ... ::sync::Mutex<i32>`, which does not implement the `Copy` trait error: aborting due to 2 previous errors な ...
https://man.plustar.jp/rust/book/ch16-03-shared-state.html - [similar]
スレッドを使用してコードを同時に走らせる - Rust 日本語版 7912
The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello, ... std::vec::Vec<i32>`, which does not implement the `Copy` trait (注釈: `v`の型が`std::vec::Vec<i32>`のためム ... ーブが起きました。この型は、`Copy`トレイトを実装していません) 再三Rustの所有権規則が ...
https://man.plustar.jp/rust/book/ch16-01-threads.html - [similar]
クロージャ:環境をキャプチャできる匿名関数 - Rust 日本語版 7823
The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello, ... std::vec::Vec<i32>`, which does not implement the `Copy` trait (注釈: `x`が`std::vec::Vec<i32>`という`Copy ...
https://man.plustar.jp/rust/book/ch13-01-closures.html - [similar]
メソッド記法 - Rust 日本語版 7735
The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello, ... のです: #![allow(unused)] fn main() { #[derive(Debug,Copy,Clone)] struct Point { x: f64, y: f64, } impl Poin ...
https://man.plustar.jp/rust/book/ch05-03-method-syntax.html - [similar]
キーとそれに紐づいた値をハッシュマップに格納する - Rust 日本語版 7735
The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello, ... ができるのです。 ハッシュマップと所有権 i32 のような Copy トレイトを実装する型について、値はハッシュマップに ...
https://man.plustar.jp/rust/book/ch08-03-hash-maps.html - [similar]
Rc<T>は、参照カウント方式のスマートポインタ - Rust 日本語版 7735
The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello, ... `a` has type `List`, which does not implement the `Copy` trait Cons 列挙子は、保持しているデータを所有する ...
https://man.plustar.jp/rust/book/ch15-04-rc.html - [similar]
メッセージ受け渡しを使ってスレッド間でデータを転送する - Rust 日本語版 7735
The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello, ... td::string::String`, which does not implement the `Copy` trait 並行性のミスがコンパイルエラーを招きました。 ...
https://man.plustar.jp/rust/book/ch16-02-message-passing.html - [similar]
PREV 1 2 NEXT