検索

phrase: max: clip:
target: order:
Results of 1 - 7 of about 7 for フィールド (0.026 sec.)
構造体の場合 - Rust By Example 日本語版 12359
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... mple 日本語版 構造体の場合 構造体はそれ自身に加え、フィールドごとにもパブリック・プライベートを設定することができ ... ォルトではプライベートですが、 pub 宣言をすることで、フィールドをパブリックにすることができます。これは、構造体がモ ... a public field of generic type `T` // パブリックなフィールド`T`(ジェネリック型)を持つパブリックな構造体 pub s ... private field of generic type `T` // プライベートなフィールド`T`(ジェネリック型)を持つパブリックな構造体 #[all ...
https://man.plustar.jp/rust/example/mod/struct_visibility.html - [similar]
構造体 - Rust By Example 日本語版 10941
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... クラシックな C言語スタイルの構造体。 ユニット。これはフィールドを持たず、ジェネリック型を扱う際に有効です。 #[deriv ... air(i32, f32); // A struct with two fields // 2つのフィールドを持つ(クラシックな)構造体 struct Point { x: f32, ... as fields of another struct // 構造体は他の構造体のフィールドになることができる #[allow(dead_code)] struct Rectan ... Create struct with field init shorthand // 構造体をフィールド初期化の簡略記法で生成 let name = String::from("Pete ...
https://man.plustar.jp/rust/example/custom_types/structs.html - [similar]
Rust By Example 日本語版 9306
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... fields are nameable for comparison. // 比較のため、フィールドに名前をつけれる様な構造体を定義しましょう #[derive( ... クラシックな C言語スタイルの構造体。 ユニット。これはフィールドを持たず、ジェネリック型を扱う際に有効です。 #[deriv ... air(i32, f32); // A struct with two fields // 2つのフィールドを持つ(クラシックな)構造体 struct Point { x: f32, ... as fields of another struct // 構造体は他の構造体のフィールドになることができる #[allow(dead_code)] struct Rectan ...
https://man.plustar.jp/rust/example/print.html - [similar]
refパターン - Rust By Example 日本語版 8542
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... グを行う場合、 ref キーワードを用いて構造体・タプルのフィールドへのリファレンスを取得することができます。以下の例で ... e `x` field of `point`. // `ref_to_x`は`point`の`x`フィールドへの参照 let Point { x: ref ref_to_x, y: _ } = point ... a copy of the `x` field of `point`. // `point`の`x`フィールドへのコピーを返す。 *ref_to_x }; // A mutable copy of ... erence. // `mutable_point`の`y`というミュータブルなフィールドの値を変更する。 *mut_ref_to_y = 1; } println!("poin ...
https://man.plustar.jp/rust/example/scope/borrow/ref.html - [similar]
Dependencies - Rust By Example 日本語版 8106
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... rs = ["mark"] [dependencies] [package] の下の name フィールドがプロジェクトの名前を決定します。これはクレートを公 ... ルしたときの出力ファイルの名前でもあります。 version フィールドはクレートのバージョン番号で、 セマンティックバージョ ... ニング を使っています。 authors フィールドは作者のリストで、クレートを公開するときに使われます ...
https://man.plustar.jp/rust/example/cargo/deps.html - [similar]
パイプ - Rust By Example 日本語版 7179
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ion<ChildStdout>` so must be unwrapped. // `stdout`フィールドも`Option<ChildStdout>`型なのでアンラップする必要があ ...
https://man.plustar.jp/rust/example/std_misc/process/pipe.html - [similar]
ディスプレイ - Rust By Example 日本語版 7070
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... fields are nameable for comparison. // 比較のため、フィールドに名前をつけれる様な構造体を定義しましょう #[derive( ...
https://man.plustar.jp/rust/example/hello/print/print_display.html - [similar]
PREV 1 NEXT