検索

phrase: max: clip:
target: order:
Results of 1 - 8 of about 8 for contents (0.018 sec.)
構造体の場合 - Rust By Example 日本語版 13790
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... を持つパブリックな構造体 pub struct OpenBox<T> { pub contents: T, } // A public struct with a private field of g ... 構造体 #[allow(dead_code)] pub struct ClosedBox<T> { contents: T, } impl<T> ClosedBox<T> { // A public construct ... ックなコンストラクタメソッドを持つ構造体 pub fn new(contents: T) -> ClosedBox<T> { ClosedBox { contents: conten ... インスタンス化できる。 let open_box = my::OpenBox { contents: "public information" }; // and their fields can b ...
https://man.plustar.jp/rust/example/mod/struct_visibility.html - [similar]
借用 - Rust By Example 日本語版 8766
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... new(5_i32); let stacked_i32 = 6_i32; // Borrow the contents of the box. Ownership is not taken, // so the cont ...
https://man.plustar.jp/rust/example/scope/borrow.html - [similar]
ミュータビリティ - Rust By Example 日本語版 8350
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... able_box contains {}", mutable_box); // Modify the contents of the box // boxの内容を変更 *mutable_box = 4; pr ...
https://man.plustar.jp/rust/example/scope/move/mut.html - [similar]
open - Rust By Example 日本語版 8350
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... splay, why), Ok(file) => file, }; // Read the file contents into a string, returns `io::Result<usize>` // ファ ...
https://man.plustar.jp/rust/example/std_misc/file/open.html - [similar]
macro_rules! - Rust By Example 日本語版 8241
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... とを示す。 () => { // The macro will expand into the contents of this block. // マクロは(訳注: プリコンパイルの ...
https://man.plustar.jp/rust/example/macros.html - [similar]
ファイルの階層構造 - Rust By Example 日本語版 8241
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... amed `my.rs` or `my/mod.rs` and will // insert its contents inside a module named `my` under this scope // この ...
https://man.plustar.jp/rust/example/mod/split.html - [similar]
ベクタ型 - Rust By Example 日本語版 8241
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... // `Vector`s can be easily iterated over println!("Contents of xs:"); for x in xs.iter() { println!("> {}", x) ...
https://man.plustar.jp/rust/example/std/vec.html - [similar]
ファイルシステムとのやり取り - Rust By Example 日本語版 8241
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... tln!("> {}", s), } println!("`ls a`"); // Read the contents of a directory, returns `io::Result<Vec<Path>>` // ...
https://man.plustar.jp/rust/example/std_misc/fs.html - [similar]
PREV 1 NEXT