検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 193 for rules (0.021 sec.)
macro_rules! - Rust By Example 日本語版 14906
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 16.9. Disambiguating overlapping traits 17. macro_rules! ❱ 17.1. 構文 ❱ 17.1.1. 識別子 17.1.2. オーバーロー ... Rust Coal Navy Ayu Rust By Example 日本語版 macro_rules! Rustはメタプログラミングを可能にする、パワフルなマ ... くわすことがありません。 マクロを作成するには macro_rules! というマクロを使用します。 // This is a simple ma ... o`. // `say_hello`という名のシンプルなマクロ macro_rules! say_hello { // `()` indicates that the macro take ...
https://man.plustar.jp/rust/example/macros.html - [similar]
Domain Specific Languages (ドメイン特化言語、DSLs) - Rust By Example 日本語版 11342
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 16.9. Disambiguating overlapping traits 17. macro_rules! ❱ 17.1. 構文 ❱ 17.1.1. 識別子 17.1.2. オーバーロー ... 力がコンソールに書き出されるようにしたいです。 macro_rules! calculate { (eval $e:expr) => {{ { let val: usize ... 目してください。 外側のは、 () や [] に加え、 macro_rules! の構文の一部です。 関連キーワード: 関数 , Result ... , エラー , eval , テストケース , Option , map , rules , macro , 定義 ...
https://man.plustar.jp/rust/example/macros/dsl.html - [similar]
DRY (Don't Repeat Yourself) - Rust By Example 日本語版 10940
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 16.9. Disambiguating overlapping traits 17. macro_rules! ❱ 17.1. 構文 ❱ 17.1.1. 識別子 17.1.2. オーバーロー ... 見ていきます。 use std::ops::{Add, Mul, Sub}; macro_rules! assert_equal_len { // The `tt` (token tree) desig ... len(),), stringify!($op), ($b.len(),)); }; } macro_rules! op { ($func:ident, $bound:ident, $op:tt, $method: ... gn, Sub, -=, sub); mod test { use std::iter; macro_rules! test { ($func:ident, $x:expr, $y:expr, $z:expr) = ...
https://man.plustar.jp/rust/example/macros/dry.html - [similar]
オーバーロード - Rust By Example 日本語版 9354
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 16.9. Disambiguating overlapping traits 17. macro_rules! ❱ 17.1. 構文 ❱ 17.1.1. 識別子 17.1.2. オーバーロー ... 取るようにオーバーロードすることができるため、 macro_rules! はマッチと似たような使い方をすることができます。 ... ght`を異なる呼び出し方に応じて // 比較する。 macro_rules! test { // Arguments don't need to be separated by ...
https://man.plustar.jp/rust/example/macros/overload.html - [similar]
識別子 - Rust By Example 日本語版 8963
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 16.9. Disambiguating overlapping traits 17. macro_rules! ❱ 17.1. 構文 ❱ 17.1.1. 識別子 17.1.2. オーバーロー ... 別子 ( designator )でアノテーションされます。 macro_rules! create_function { // This macro takes an argument ... reate_function!(foo); create_function!(bar); macro_rules! print_result { // This macro takes an expression ...
https://man.plustar.jp/rust/example/macros/designators.html - [similar]
Testcase: map-reduce - Rust By Example 日本語版 8963
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 16.9. Disambiguating overlapping traits 17. macro_rules! ❱ 17.1. 構文 ❱ 17.1.1. 識別子 17.1.2. オーバーロー ... ined with Rust's concept of Ownership and aliasing rules, automatically prevent data races. The aliasing ru ...
https://man.plustar.jp/rust/example/std_misc/threads/testcase_mapreduce.html - [similar]
繰り返し - Rust By Example 日本語版 7377
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 16.9. Disambiguating overlapping traits 17. macro_rules! ❱ 17.1. 構文 ❱ 17.1.1. 識別子 17.1.2. オーバーロー ... として与えられた数字の中の最低の値を計算する。 macro_rules! find_min { // Base case: // 基本となるケース ($x: ...
https://man.plustar.jp/rust/example/macros/repeat.html - [similar]
可変個引数 - Rust By Example 日本語版 7377
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 16.9. Disambiguating overlapping traits 17. macro_rules! ❱ 17.1. 構文 ❱ 17.1.1. 識別子 17.1.2. オーバーロー ... マクロを、可変個引数に拡張することができます: macro_rules! calculate { // 単一の`eval`のためのパターン // Th ...
https://man.plustar.jp/rust/example/macros/variadics.html - [similar]
Integration testing - Rust By Example 日本語版 7377
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 16.9. Disambiguating overlapping traits 17. macro_rules! ❱ 17.1. 構文 ❱ 17.1.1. 識別子 17.1.2. オーバーロー ... dules with common code follow the ordinary modules rules, so it's ok to create common module as tests/commo ...
https://man.plustar.jp/rust/example/testing/integration_testing.html - [similar]
型キャスティング - Rust By Example 日本語版 6975
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 16.9. Disambiguating overlapping traits 17. macro_rules! ❱ 17.1. 構文 ❱ 17.1.1. 識別子 17.1.2. オーバーロー ... har; // Error! There are limitations in conversion rules. // A float cannot be directly converted to a char ...
https://man.plustar.jp/rust/example/types/cast.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 NEXT