検索

phrase: max: clip:
target: order:
Results of 1 - 3 of about 3 for increase (0.010 sec.)
引数のパース - Rust By Example 日本語版 11924
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 用いて簡単な引数をパースできます。 use std::env; fn increase(number: i32) { println!("{}", number + 1); } fn de ... k whether given string is the answer. match_args {{increase|decrease}} <integer> Increase or decrease given in ... the command // コマンドをパース match &cmd[..] { "increase" => increase(number), "decrease" => decrease(numbe ... ck whether given string is the answer. match_args {increase|decrease} <integer> Increase or decrease given int ...
https://man.plustar.jp/rust/example/std_misc/arg/matching.html - [similar]
if/else - Rust By Example 日本語版 8129
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 10 && n > -10 { println!(", and is a small number, increase ten-fold"); // This expression returns an `i32`. / ...
https://man.plustar.jp/rust/example/flow_control/if_else.html - [similar]
Rust By Example 日本語版 7831
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 10 && n > -10 { println!(", and is a small number, increase ten-fold"); // This expression returns an `i32`. / ...
https://man.plustar.jp/rust/example/print.html - [similar]
PREV 1 NEXT