検索

phrase: max: clip:
target: order:
Results of 1 - 1 of about 1 for Student (0.005 sec.)
Supertraits - Rust By Example 日本語版 9414
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... e(&self) -> String; } // Person is a supertrait of Student. // Implementing Student requires you to also impl ... Person. trait Student: Person { fn university(&self) -> String; } trait ... er { fn fav_language(&self) -> String; } // CompSciStudent (computer science student) is a subtrait of both P ... rogrammer // and Student. Implementing CompSciStudent requires you to impl ...
https://man.plustar.jp/rust/example/trait/supertraits.html - [similar]
PREV 1 NEXT