検索

phrase: max: clip:
target: order:
Results of 1 - 2 of about 2 for Seconds (0.006 sec.)
継承(Derive) - Rust By Example 日本語版 11228
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... = self; Centimeters(inches as f64 * 2.54) } } // `Seconds`, a tuple struct with no additional attributes // ... `Seconds`には特にアトリビュートを付け加えない。 struct Seco ... nds(i32); fn main() { let _one_second = Seconds(1); // Error: `Seconds` can't be printed; it doesn ... 't implement the `Debug` trait // エラー: `Seconds`はプリントできない。これは`Debug`トレイトを実装して ...
https://man.plustar.jp/rust/example/trait/derive.html - [similar]
dropの延期 - Rust By Example 日本語版 7485
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... stc wait.rs && ./wait # `wait` keeps running for 5 seconds until the `sleep 5` command finishes reached end o ...
https://man.plustar.jp/rust/example/std_misc/process/wait.html - [similar]
PREV 1 NEXT