検索

phrase: max: clip:
target: order:
Results of 1 - 1 of about 1 for decrease (0.004 sec.)
引数のパース - Rust By Example 日本語版 9414
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... se(number: i32) { println!("{}", number + 1); } fn decrease(number: i32) { println!("{}", number - 1); } fn he ... given string is the answer. match_args {{increase|decrease}} <integer> Increase or decrease given integer by ... match &cmd[..] { "increase" => increase(number), "decrease" => decrease(number), _ => { eprintln!("error: inv ... r given string is the answer. match_args {increase|decrease} <integer> Increase or decrease given integer by o ...
https://man.plustar.jp/rust/example/std_misc/arg/matching.html - [similar]
PREV 1 NEXT