To implement a trait, declare an impl block for the type you want to implement the trait for. The syntax is impl <trait> for <type> .
確定! 回上一頁