検索

phrase: max: clip:
target: order:
Results of 31 - 33 of about 33 for Vec (0.049 sec.)
メモリ解放 - Rust By Example 日本語版 6593
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 。 Drop トレイトを実装している型の例としては Box 、 Vec 、 String 、 File 、 Process 等があげられます。 Dr ...
https://man.plustar.jp/rust/example/trait/drop.html - [similar]
key型の変種 - Rust By Example 日本語版 6529
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... いる場合、必ず同じトレイトを実装しています。例えば、 Vec<T> は T が Hash を実装している場合、 Hash を実装し ...
https://man.plustar.jp/rust/example/std/hash/alt_key_types.html - [similar]
安全でない操作 - Rust By Example 日本語版 6529
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... and a length. use std::slice; fn main() { let some_vector = vec![1, 2, 3, 4]; let pointer = some_vector.a ... s_ptr(); let length = some_vector.len(); unsafe { let my_slice: &[u32] = slice::f ... rom_raw_parts(pointer, length); assert_eq!(some_vector.as_slice(), my_slice); } } For slice::from_raw_ ...
https://man.plustar.jp/rust/example/unsafe.html - [similar]
PREV 1 2 3 4 NEXT