検索

phrase: max: clip:
target: order:
Results of 1 - 9 of about 9 for attribute (0.033 sec.)
アトリビュート - Rust By Example 日本語版 13553
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... リビュートがクレート全体に適用される場合、 #![crate_attribute] という書き方になります。モジュールないしは要素に適 ... 用される場合は #[item_attribute] になります。( ! がないことに注目) アトリビュート ... は以下の様な書き方で引数を取ることができます。 #[attribute = "value"] #[attribute(key = "value")] #[attribute ... (value)] Attributes can have multiple values and can be separated ove ...
https://man.plustar.jp/rust/example/attribute.html - [similar]
Unit testing - Rust By Example 日本語版 10407
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... it tests go into a tests mod with the #[cfg(test)] attribute . Test functions are marked with the #[test] attri ... that should panic under certain circumstances, use attribute #[should_panic] . This attribute accepts optional ... oring tests Tests can be marked with the #[ignore] attribute to exclude some tests. Or to run them with command ...
https://man.plustar.jp/rust/example/testing/unit_testing.html - [similar]
dead_code - Rust By Example 日本語版 8681
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... used_function() {} // `#[allow(dead_code)]` is an attribute that disables the `dead_code` lint // `#[allow(dea ... {} fn noisy_unused_function() {} // FIXME ^ Add an attribute to suppress the warning // FIXME ^ 警告を抑制するア ...
https://man.plustar.jp/rust/example/attribute/unused.html - [similar]
エイリアス - Rust By Example 日本語版 8681
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... type NanoSecond = u64; type Inch = u64; // Use an attribute to silence warning. // 警告を抑えるアトリビュートを ... pes)] type u64_t = u64; // TODO ^ Try removing the attribute // TODO ^ アトリビュートを使用しない場合、どうなる ...
https://man.plustar.jp/rust/example/types/alias.html - [similar]
Rust By Example 日本語版 8052
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... きません。 struct UnPrintable(i32); // The `derive` attribute automatically creates the implementation // requir ... le の幅と高さになります。 See also アトリビュート( attributes ) , デストラクト 列挙型 列挙型( enum )はいくつかの ... 数のスコープを絶対名で指定する必要がなくなる。 // An attribute to hide warnings for unused code. // 使用されていな ... 言語の列挙型のような使い方をする事もできます。 // An attribute to hide warnings for unused code. // 使用されていな ...
https://man.plustar.jp/rust/example/print.html - [similar]
C言語ライクな列挙型 - Rust By Example 日本語版 7891
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 言語の列挙型のような使い方をする事もできます。 // An attribute to hide warnings for unused code. // 使用されていな ...
https://man.plustar.jp/rust/example/custom_types/enum/c_like.html - [similar]
use - Rust By Example 日本語版 7891
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 数のスコープを絶対名で指定する必要がなくなる。 // An attribute to hide warnings for unused code. // 使用されていな ...
https://man.plustar.jp/rust/example/custom_types/enum/enum_use.html - [similar]
Playpen - Rust By Example 日本語版 7891
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... und. This feature is enabled if you use the #[doc] attribute called html_playground_url . See also: The Rust Pl ...
https://man.plustar.jp/rust/example/meta/playpen.html - [similar]
デバッグ - Rust By Example 日本語版 7747
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... きません。 struct UnPrintable(i32); // The `derive` attribute automatically creates the implementation // requir ...
https://man.plustar.jp/rust/example/hello/print/print_debug.html - [similar]
PREV 1 NEXT